Skip to content

Commit c2605dd

Browse files
authored
[SYCL][E2E] Use target features instead of backend for ESIMD unsupported statements (#16887)
These tests fail to build for nvptx/amdgcn so instead of marking unsupported based on the backend they should be marked as unsupported based on the build target.
1 parent 71e48e0 commit c2605dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import platform
22

3-
config.unsupported_features += ['cuda', 'hip']
3+
config.unsupported_features += ['target-nvidia', 'target-amd']
44
config.required_features += ['gpu']
55

66
# We need this to fix failures when run on OCL.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import platform
22

3-
config.unsupported_features += ['cuda', 'hip']
3+
config.unsupported_features += ['target-nvidia', 'target-amd']
44
config.required_features += ['gpu']
55

66
# TODO: enable on Windows once driver is ready.

0 commit comments

Comments
 (0)