Skip to content

Commit ac71f61

Browse files
[SYCL][E2E] Enable bfloat16_example test everywhere (#15533)
The test was recently refactored and got accidentally enabled on HIP, causing post-commit failure. It failed because it had been originally written to only support JIT targets. There seems to be no good reason for this test not to be run on CUDA & HIP backends, so instead of restricting devices it should be run on this patch refactors it to support AOT targets as well.
1 parent aa14ea0 commit ac71f61

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

sycl/test-e2e/BFloat16/bfloat16_example.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
///
2-
/// Checks a simple case of bfloat16, also employed for AOT library fallback.
3-
///
1+
/// Checks a simple case of bfloat16
42

5-
// CUDA is not compatible with SPIR.
6-
// UNSUPPORTED: cuda
7-
8-
// RUN: %clangxx -fsycl %s -o %t.out
3+
// RUN: %{build} -o %t.out
94
// RUN: %{run} %t.out
105

116
#include "bfloat16_example.hpp"

0 commit comments

Comments
 (0)