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
Copy file name to clipboardExpand all lines: clang/test/SemaSYCL/initiation_interval.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
[[intel::initiation_interval(5)]] int a; // expected-error{{'initiation_interval' attribute only applies to 'for', 'while', 'do' statements, and functions}}
9
9
10
-
[[intel::initiation_interval("foo")]] voidfunc() {} // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'const char[4]'}}
10
+
[[intel::initiation_interval("foo")]] voidfunc() {} // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'const char[4]'}}
11
11
12
12
[[intel::initiation_interval(-1)]] voidfunc1() {} // expected-error{{'initiation_interval' attribute requires a positive integral compile time constant expression}}
Copy file name to clipboardExpand all lines: clang/test/SemaSYCL/loop_fusion.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
// Tests for incorrect argument values for Intel FPGA loop fusion function attributes
4
4
[[intel::loop_fuse(5)]] int a; // expected-error{{'loop_fuse' attribute only applies to functions}}
5
5
6
-
[[intel::loop_fuse("foo")]] voidfunc() {} // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'const char[4]'}}
6
+
[[intel::loop_fuse("foo")]] voidfunc() {} // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'const char[4]'}}
7
7
8
8
[[intel::loop_fuse(1048577)]] voidfunc1() {} // OK
9
9
[[intel::loop_fuse_independent(-1)]] voidfunc2() {} // expected-error{{'loop_fuse_independent' attribute requires a non-negative integral compile time constant expression}}
Copy file name to clipboardExpand all lines: clang/test/SemaSYCL/scheduler_target_fmax_mhz.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
12
12
[[intel::scheduler_target_fmax_mhz(1048577)]] voidcorrect() {} // OK
13
13
14
-
[[intel::scheduler_target_fmax_mhz("foo")]] voidfunc() {} // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'const char[4]'}}
14
+
[[intel::scheduler_target_fmax_mhz("foo")]] voidfunc() {} // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'const char[4]'}}
15
15
16
16
[[intel::scheduler_target_fmax_mhz(-1)]] voidfunc1() {} // expected-error{{'scheduler_target_fmax_mhz' attribute requires a non-negative integral compile time constant expression}}
0 commit comments