We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87cb866 commit 6471266Copy full SHA for 6471266
clang/test/SemaSYCL/intel-fpga-no-global-work-offset.cpp
@@ -23,10 +23,13 @@ int main() {
23
[]() [[intel::no_global_work_offset(0)]]{});
24
25
// CHECK: SYCLIntelNoGlobalWorkOffsetAttr{{.*}}
26
+ // CHECK-NEXT: IntegerLiteral{{.*}}42{{$}}
27
h.single_task<class test_kernel3>(
28
[]() [[intel::no_global_work_offset(42)]]{});
29
30
31
+ // CHECK-NEXT: UnaryOperator{{.*}} 'int' prefix '-'
32
+ // CHECK-NEXT-NEXT: IntegerLiteral{{.*}}1{{$}}
33
h.single_task<class test_kernel4>(
34
[]() [[intel::no_global_work_offset(-1)]]{});
35
0 commit comments