Skip to content

Commit

Permalink
[SYCL][E2E] Enable passing UNSUPPORTED:gpu tests (#15391)
Browse files Browse the repository at this point in the history
This commit enables a selection of tests with UNSUPPORTED:gpu that seems
to have been fixed since their disablement.

Additionally, it restricts expected failure of image_array to just
Gen12, with tracker #15398.

---------

Signed-off-by: Larsen, Steffen <[email protected]>
  • Loading branch information
steffenlarsen authored Sep 17, 2024
1 parent 254c979 commit d6f8275
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
3 changes: 2 additions & 1 deletion sycl/test-e2e/Basic/image/image_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

// UNSUPPORTED: gpu
// See https://github.com/intel/llvm/issues/15398
// UNSUPPORTED: gpu-intel-gen12

//==------------------- image.cpp - SYCL image basic test -----------------==//
//
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Printf/mixed-address-space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out | FileCheck %s

// UNSUPPORTED: gpu
// CHECK: Constant addrspace literal
// CHECK: Generic addrspace literal

Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/Printf/percent-symbol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
// RUN: %{build} -o %t.constant.out -DTEST_CONSTANT_AS
// RUN: %{run} %t.constant.out | FileCheck %s
//
// FIXME: Enable on GPU once %% conversion is supported there
// UNSUPPORTED: gpu
//
// CHECK: %c %s %d %i %o %x %X %u
// CHECK-NEXT: %f %F %e %E %a %A %g %G %n %p

Expand Down
9 changes: 0 additions & 9 deletions sycl/test-e2e/USM/align.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

// UNSUPPORTED: gpu

// E2E tests for annotated USM allocation functions with alignment arguments
// that are not powers of 2. Note this test does not work on gpu because some
// tests expect non-templated aligned_alloc_xxx functions to return nullptr,
// e.g. when the alignment argument is not a power of 2, while they fail to do
// so when run on gpu. This maybe because the gpu runtime has different
// behavior. Therefore, GPU is unsupported until issue #12638 gets resolved.

#include <sycl/detail/core.hpp>
#include <sycl/usm.hpp>

Expand Down

0 comments on commit d6f8275

Please sign in to comment.