Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 178db0d

Browse files
jinge90bader
andauthored
Enable bfloat16 math tests on all backends (#1495)
Signed-off-by: jinge90 <[email protected]> Co-authored-by: Alexey Bader <[email protected]>
1 parent 20a1752 commit 178db0d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

SYCL/BFloat16/bfloat16_builtins.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
1+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %if cuda %{ -Xsycl-target-backend --cuda-gpu-arch=sm_80 %} %s -o %t.out
2+
3+
// Currently the feature isn't supported on FPGA.
4+
5+
// RUN: %CPU_RUN_PLACEHOLDER %t.out
6+
// RUN: %GPU_RUN_PLACEHOLDER %t.out
7+
// TODO: add test execution on FPGA
68
//
7-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out -Xsycl-target-backend --cuda-gpu-arch=sm_80
8-
// RUN: %t.out
99
#include <sycl/sycl.hpp>
1010

1111
#include <cmath>

0 commit comments

Comments
 (0)