We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20a1752 commit 178db0dCopy full SHA for 178db0d
SYCL/BFloat16/bfloat16_builtins.cpp
@@ -1,11 +1,11 @@
1
-// REQUIRES: cuda
2
-//
3
-// Currently this test fails to compile for backends other than cuda.
4
-// Other backends could use this test when bfloat16 math function support is
5
-// added.
+// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %if cuda %{ -Xsycl-target-backend --cuda-gpu-arch=sm_80 %} %s -o %t.out
+
+// Currently the feature isn't supported on FPGA.
+// RUN: %CPU_RUN_PLACEHOLDER %t.out
6
+// RUN: %GPU_RUN_PLACEHOLDER %t.out
7
+// TODO: add test execution on FPGA
8
//
-// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out -Xsycl-target-backend --cuda-gpu-arch=sm_80
-// RUN: %t.out
9
#include <sycl/sycl.hpp>
10
11
#include <cmath>
0 commit comments