Skip to content

Commit cc518c7

Browse files
Enable tests that are marked as unsupported but are passing with SPIR-V
backend
1 parent 8bfe4e0 commit cc518c7

26 files changed

+48
-46
lines changed

sycl/test-e2e/Basic/device_event.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// RUN: %{build} -o %t.run
22
// RUN: %{run} %t.run
33

4-
// UNSUPPORTED: spirv-backend
5-
// UNSUPPORTED-TRACKER: CMPLRLLVM-64705
6-
74
//==--------device_event.cpp - SYCL class device_event test ----------------==//
85
//
96
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test-e2e/Basic/image/image.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
44

5+
// XFAIL: spirv-backend && gpu-intel-dg2
6+
// XFAIL-TRACKER: https://github.com/llvm/llvm-project/issues/160589
7+
58
//==------------------- image.cpp - SYCL image basic test -----------------==//
69
//
710
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test-e2e/Basic/image/image_array.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// RUN: %{build} -o %t.out
44
// RUN: %{run} %t.out
55

6+
// XFAIL: spirv-backend && gpu-intel-dg2
7+
// XFAIL-TRACKER: https://github.com/llvm/llvm-project/issues/160589
8+
69
//==------------------- image.cpp - SYCL image basic test -----------------==//
710
//
811
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test-e2e/Basic/image/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Legacy images aren't supported on AMD and also don't compile, so mark them
77
# unsupported here. Bindless images should be used instead.
8-
config.unsupported_features += ['spirv-backend', 'target-amd']
8+
config.unsupported_features += ['target-amd']
99

1010
# Legacy images aren't supported on Native CPU. Bindless images should be used
1111
# instead when they are working.

sycl/test-e2e/InvokeSimd/lit.local.cfg

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ config.required_features += ['gpu']
66
# TODO: enable on Windows once driver is ready.
77
if platform.system() != "Linux":
88
config.unsupported = True
9-
10-
# At the moment SPIR-V Backend has no plans to support this feature.
11-
config.unsupported_features += ['spirv-backend']
12-
9+
1310
# https://github.com/intel/llvm/issues/20142.
1411
config.unsupported_features += ['target-native_cpu']

sycl/test-e2e/NonUniformGroups/chunk_algorithms.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@
1111
// UNSUPPORTED: target-amd
1212
// UNSUPPORTED-INTENDED: fixed_size_group aspect not available on amd
1313

14-
// UNSUPPORTED: spirv-backend
15-
// UNSUPPORTED-TRACKER: CMPLRLLVM-64702
16-
// The test is disabled for spirv-backend while we investigate the root cause.
17-
1814
// XFAIL: target-native_cpu
1915
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20142
20-
2116
#include <sycl/detail/core.hpp>
2217
#include <sycl/ext/oneapi/experimental/chunk.hpp>
2318
#include <sycl/group_algorithm.hpp>

sycl/test-e2e/NonUniformGroups/fragment_algorithms.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
// UNSUPPORTED: cuda
1414
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/12995
1515

16-
// UNSUPPORTED: spirv-backend
17-
// UNSUPPORTED-TRACKER: CMPLRLLVM-64702
18-
// The test is disabled for spirv-backend while we investigate the root cause.
19-
2016
#include <sycl/detail/core.hpp>
2117
#include <sycl/ext/oneapi/experimental/fragment.hpp>
2218
#include <sycl/group_algorithm.hpp>

sycl/test-e2e/Reduction/reduction_span.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33

44
// This test performs basic checks of reductions initialized with a sycl::span
55

6-
// Depends on SPIR-V Backend & run-time drivers version.
7-
// XFAIL: spirv-backend && cpu
8-
// XFAIL-TRACKER: CMPLRLLVM-64705
9-
106
#include <sycl/detail/core.hpp>
117

128
#include <sycl/reduction.hpp>

sycl/test-e2e/Reduction/reduction_span_pack.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
// This test performs basic checks of reductions initialized with a pack
55
// containing at least one sycl::span
66

7-
// Depends on SPIR-V Backend & run-time drivers version.
8-
// XFAIL: spirv-backend && cpu
9-
// XFAIL-TRACKER: CMPLRLLVM-64705
10-
117
#include <sycl/detail/core.hpp>
128

139
#include <sycl/reduction.hpp>

sycl/test-e2e/Regression/group_load_fortified.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// RUN: %{build} -D_FORTIFY_SOURCE=2 -o %t.out
33
// RUN: %{run} %t.out
44

5-
// Depends on SPIR-V Backend & run-time drivers version.
6-
// XFAIL: spirv-backend && cpu
7-
// XFAIL-TRACKER: CMPLRLLVM-64705
8-
95
// Checks that group_load runs even when the source code is fortified. This
106
// failed at one point due to the use of std::memcpy in the implementation,
117
// which would hold an assert in device code when fortified, which would fail

0 commit comments

Comments
 (0)