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 983b3d5 commit 1bf0903Copy full SHA for 1bf0903
clang/test/CodeGenSYCL/kernel-param-acc-array-ih.cpp
@@ -1,5 +1,6 @@
1
-// RUN: %clang -I %S/Inputs -fsycl-device-only -Xclang -fsycl-int-header=/iusers/rdeodhar/work/dpcc/jira/7004/t.h %s -c -o %T/kernel.spv
2
-// RUN: FileCheck -input-file=%t.h %s
+// RUN: %clang -I %S/Inputs -fsycl-device-only -Xclang
+// -fsycl-int-header=/iusers/rdeodhar/work/dpcc/jira/7004/t.h %s -c -o
3
+// %T/kernel.spv RUN: FileCheck -input-file=%t.h %s
4
5
// This test checks the integration header generated when
6
// the kernel argument is an Accessor array.
@@ -49,8 +50,5 @@ int main() {
49
50
51
Accessor acc[2];
52
- a_kernel<class kernel_A>(
53
- [=]() {
54
- acc[1].use();
55
- });
+ a_kernel<class kernel_A>([=]() { acc[1].use(); });
56
}
0 commit comments