Skip to content

Commit

Permalink
feedback: remove aspect; unsupported cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
frasercrmck committed Apr 25, 2024
1 parent 56d6e03 commit 7ce174a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sycl/test-e2e/BFloat16/bfloat16_builtins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// + below sm_80 always uses generic impls

// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
// REQUIRES: aspect-ext_oneapi_bfloat16_math_functions
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %if any-device-is-cuda %{ -Xsycl-target-backend --cuda-gpu-arch=sm_80 %} %s -o %t.out %{mathflags}
// RUN: %{run} %t.out

Expand All @@ -14,7 +13,8 @@
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}

// Currently the feature isn't supported on FPGA.
// UNSUPPORTED: accelerator
// FIXME: enable opaque pointers support on CPU.
// UNSUPPORTED: accelerator, cpu
#include "bfloat16_builtins.hpp"

int main() {
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/BFloat16/bfloat16_builtins_cuda_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
// + below sm_80 always uses generic impls

// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
// REQUIRES: aspect-ext_oneapi_bfloat16_math_functions

// If CUDA, test "new" again for sm_75/generic
// RUN: %if any-device-is-cuda %{ %if preview-breaking-changes-supported %{ %clangxx -fsycl -fpreview-breaking-changes -fsycl-targets=%{sycl_triple} -Xsycl-target-backend --cuda-gpu-arch=sm_75 %s -o %t3.out %{mathflags} %} %}
// RUN: %if any-device-is-cuda %{ %if preview-breaking-changes-supported %{ %{run} %t3.out %} %}

// Currently the feature isn't supported on FPGA.
// UNSUPPORTED: accelerator
// FIXME: enable opaque pointers support on CPU.
// UNSUPPORTED: accelerator, cpu
#include "bfloat16_builtins.hpp"

int main() {
Expand Down

0 comments on commit 7ce174a

Please sign in to comment.