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

Revert "Enable bfloat16 math tests on all backends" #1529

Merged
merged 1 commit into from
Jan 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions SYCL/BFloat16/bfloat16_builtins.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// 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
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// TODO: add test execution on FPGA
// REQUIRES: cuda
//
// Currently this test fails to compile for backends other than cuda.
// Other backends could use this test when bfloat16 math function support is
// added.
//
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out -Xsycl-target-backend --cuda-gpu-arch=sm_80
// RUN: %t.out
#include <sycl/sycl.hpp>

#include <cmath>
Expand Down