Skip to content

Commit f7b34bf

Browse files
jle-quelbb-sycl
authored andcommitted
[SYCL][CUDA] Re-enable tests that were marked as UNSUPPORTED for the CUDA backend (intel#1317)
This PR re-enables the test marked as UNSUPPORTED for the CUDA backend. As a result of these tests ran to update this issue: intel#249; Specifically, the part which mentions the tests that passed but are marked as unsupported; I'm proposing this PR to re-enable them.
1 parent 8f78e2b commit f7b34bf

13 files changed

+11
-27
lines changed

SYCL/Basic/built-ins.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
// RUN: %GPU_RUN_PLACEHOLDER %t_nonvar.out %GPU_CHECK_PLACEHOLDER
99
// RUN: %ACC_RUN_PLACEHOLDER %t_nonvar.out %ACC_CHECK_PLACEHOLDER
1010

11-
// CUDA does not support printf.
12-
// UNSUPPORTED: cuda
13-
//
1411
// Hits an assertion with AMD:
1512
// XFAIL: hip_amd
1613

SYCL/Basic/handler/handler_mem_op.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// RUN: %CPU_RUN_PLACEHOLDER %t.out
33
// RUN: %GPU_RUN_PLACEHOLDER %t.out
44

5-
// UNSUPPORTED: cuda
6-
75
//==- handler.cpp - SYCL handler explicit memory operations test -*- C++-*--==//
86
//
97
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

SYCL/Basic/intel-ext-device.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %t.out
44
//
55
// REQUIRES: gpu
6-
// UNSUPPORTED: cuda
76
// UNSUPPORTED: hip
87
// Temporarily disable on L0 due to fails in CI
98

SYCL/Basic/kernel_bundle/kernel_bundle_api.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
// RUN: %clangxx -DSYCL_DISABLE_FALLBACK_ASSERT=1 -fsycl -fsycl-device-code-split=per_kernel -fsycl-targets=%sycl_triple %s -o %t.out
55
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
66
//
7-
// -fsycl-device-code-split is not supported for cuda
8-
// UNSUPPORTED: cuda || hip
7+
// UNSUPPORTED: hip
98

109
#include <iostream>
1110
#include <sycl/sycl.hpp>

SYCL/Basic/query_emulate_subdevice.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: env CreateMultipleSubDevices=2 EnableTimestampPacket=1 \
33
// RUN: NEOReadDebugKeys=1 ONEAPI_DEVICE_SELECTOR="*:gpu" %t.out
44

5-
// UNSUPPORTED: gpu-intel-dg1,cuda,hip
5+
// UNSUPPORTED: gpu-intel-dg1,hip
66
// Temporarily disable on L0 due to fails in CI
77
// UNSUPPORTED: level_zero
88
#include "query.hpp"

SYCL/DeprecatedFeatures/deprecated_intel_ext_device.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %t.out
44
//
55
// REQUIRES: gpu
6-
// UNSUPPORTED: cuda
76
// UNSUPPORTED: hip
87
// Temporarily disable on L0 due to fails in CI
98
// UNSUPPORTED: level_zero
@@ -120,4 +119,4 @@ int main(int argc, char **argv) {
120119
}
121120
std::cout << "Passed!" << std::endl;
122121
return 0;
123-
}
122+
}

SYCL/DeviceLib/ITTAnnotations/atomic.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda || hip
1+
// UNSUPPORTED: hip
22

33
// RUN: %clangxx -fsycl -fsycl-instrument-device-code %s -o %t.out \
44
// RUN: -fsycl-targets=%sycl_triple

SYCL/DeviceLib/ITTAnnotations/barrier.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda || hip
1+
// UNSUPPORTED: hip
22

33
// RUN: %clangxx -fsycl -fsycl-instrument-device-code %s -o %t.out \
44
// RUN: -fsycl-targets=%sycl_triple

SYCL/Regression/implicit_kernel_bundle_image_filtering.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
44
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
55

6-
// JIT compilation path is not taken on CUDA and HIP backend.
7-
// UNSUPPORTED: cuda || hip
6+
// JIT compilation path is not taken on HIP backend.
7+
// UNSUPPORTED: hip
88

99
// This tests checks that implicitly created kernel_bundles (i.e. through
1010
// setting a specialization ID from host) only builds the device image

SYCL/SubGroup/reduce_spirv13_fp64.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda || hip
1+
// UNSUPPORTED: hip
22

33
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out

SYCL/SubGroup/scan_spirv13_fp64.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda || hip
1+
// UNSUPPORTED: hip
22

33
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out

SYCL/USM/dep_events.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// Prefetch operations for cuda and windows currently does not work
9-
// cuMemPrefetchAsync returns cudaErrorInvalidDevice for this OS
10-
// Test is temporarily disabled until this is resolved
11-
// UNSUPPORTED: cuda && windows
12-
//
8+
139
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t1.out
1410
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
1511
// RUN: %GPU_RUN_PLACEHOLDER %t1.out

SYCL/USM/prefetch.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// Prefetch operations for cuda and windows currently does not work
9-
// cuMemPrefetchAsync returns cudaErrorInvalidDevice for this OS
10-
// Test is temporarily disabled until this is resolved
11-
// UNSUPPORTED: cuda && windows
12-
//
8+
139
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t1.out
1410
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
1511
// RUN: %GPU_RUN_PLACEHOLDER %t1.out

0 commit comments

Comments
 (0)