You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch refactors [[intel::use_stall_enable_clusters]] attribute:
1. Uses automatic diagnostic checking when passing the wrong
number of arguments (which is an error instead of a warning
and this behavior is more consistent with other attributes).
2. The attribute has no arguments, So this only returns
the attribute itself instead of
handleSimpleAttribute<SYCLIntelUseStallEnableClustersAttr>
3. Existing test (SemaSYCL/stall_enable_device.cpp) shows
the behavior of automatic diagnostic checking when passing
the wrong number of arguments
Example:
[[intel::use_stall_enable_clusters(1)]] void test1() {} // expected-error{{'use_stall_enable_clusters' attribute takes no arguments}}
Signed-off-by: Soumi Manna <[email protected]>
0 commit comments