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 eb27453 commit f90cb8dCopy full SHA for f90cb8d
clang/test/Driver/sycl-no-prec-sqrt.cpp
@@ -0,0 +1,17 @@
1
+// REQUIRES: clang-driver
2
+
3
+// RUN: %clang -### -fsycl \
4
+// RUN: -fsycl-fp32-prec-sqrt %s 2>&1 | FileCheck %s
5
6
+// RUN: %clang -### -fsycl -fsycl-targets=spir64_gen \
7
8
+//
9
+// RUN: %clang -### -fsycl -fsycl-targets=spir64_x86_64 \
10
11
12
+// RUN: %clang -### -fsycl -fsycl-targets=spir64_fpga \
13
14
15
+// CHECK: warning: argument unused during compilation: '-fsycl-fp32-prec-sqrt'
16
17
+void func(){};
0 commit comments