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 30283c0 commit a49c751Copy full SHA for a49c751
clang/test/Driver/sycl-local-accessor-opt.cpp
@@ -0,0 +1,11 @@
1
+/// Check the correct handling of sycl-enable-local-accessor option.
2
+
3
+// REQUIRES: clang-driver
4
5
+// RUN: %clang -fsycl -### %s 2>&1 \
6
+// RUN: | FileCheck -check-prefix=CHECK-NO-OPT %s
7
+// CHECK-NO-OPT-NOT: "-sycl-enable-local-accessor"
8
9
+// RUN: %clang -fsycl -fsycl-targets=nvptx64-nvidia-cuda -### %s 2>&1 \
10
+// RUN: | FileCheck %s
11
+// CHECK: "-sycl-enable-local-accessor"
0 commit comments