Skip to content

Commit bdf2e56

Browse files
[E2E] Enable end-to-end tests supported by the SPIR-V backend (#20418)
This PR re-enables SYCL end-to-end tests previously marked as XFAIL or UNSUPPORTED on the SPIR-V backend, as they now pass. For tests that are still failing, new issues have been created in llvm-project and added as XFAIL-TRACKER. This is the second PR for re-enabling SYCL end-to-end because the previous one is reverted due to post-commit failure.
1 parent 1c69efa commit bdf2e56

24 files changed

+50
-31
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
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
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/Basic/image/srgba-read.cpp

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

7+
// XFAIL: spirv-backend
8+
// XFAIL-TRACKER: https://github.com/llvm/llvm-project/issues/160589
9+
710
#include <iostream>
811
#include <sycl/accessor_image.hpp>
912
#include <sycl/detail/core.hpp>

sycl/test-e2e/NonUniformGroups/chunk_algorithms.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
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
2016

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/Sampler/lit.local.cfg

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

1313
# Legacy images aren't supported on Native CPU. Use bindless_images when working.
1414
# https://github.com/intel/llvm/issues/20142

0 commit comments

Comments
 (0)