Skip to content

Commit aadfbd4

Browse files
authored
enable working tests (intel/llvm-test-suite#1059)
Enables tests that were marked with UNSUPPORTED: cuda, but are in fact passing. Result of work on intel#249
1 parent 5a6cc3d commit aadfbd4

10 files changed

+9
-15
lines changed

SYCL/Assert/assert_in_kernels_ndebug.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// FIXME unsupported on CUDA and HIP until fallback libdevice becomes available
2-
// UNSUPPORTED: cuda || hip
1+
// FIXME unsupported on HIP until fallback libdevice becomes available
2+
// UNSUPPORTED: hip
33
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -DNDEBUG %S/assert_in_kernels.cpp -o %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
55
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER

SYCL/GroupAlgorithm/exclusive_scan_over_group.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda || hip
1+
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// RUN: %GPU_RUN_PLACEHOLDER %t.out
44
// UNSUPPORTED: ze_debug4,ze_debug-1

SYCL/GroupAlgorithm/exclusive_scan_sycl2020.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda || hip
1+
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -I . -o %t.out
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out

SYCL/GroupAlgorithm/inclusive_scan_sycl2020.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda || hip
1+
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -I . -o %t.out
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out

SYCL/GroupAlgorithm/reduce_sycl2020.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda || hip
1+
// UNSUPPORTED: hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -I . -o %t.out
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out

SYCL/SpecConstants/2020/handler-api.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
// RUN: %CPU_RUN_PLACEHOLDER %t.out
1414
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1515
// FIXME: ACC devices use emulation path, which is not yet supported
16-
// FIXME: CUDA uses emulation path, which is not yet supported
17-
// UNSUPPORTED: cuda || hip
16+
// UNSUPPORTED: hip
1817

1918
#include <cstdlib>
2019
#include <iostream>

SYCL/SpecConstants/2020/host_apis.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: -fsycl-dead-args-optimization
33
// RUN: %BE_RUN_PLACEHOLDER %t.out
44

5-
// UNSUPPORTED: cuda
65
// UNSUPPORTED: hip
76

87
#include <sycl/sycl.hpp>

SYCL/SpecConstants/2020/kernel-bundle-api.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
// RUN: %CPU_RUN_PLACEHOLDER %t.out
1414
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1515
// FIXME: ACC devices use emulation path, which is not yet supported
16-
// FIXME: CUDA uses emulation path, which is not yet supported
17-
// UNSUPPORTED: cuda || hip
16+
// UNSUPPORTED: hip
1817

1918
#include <cstdlib>
2019
#include <iostream>

SYCL/SpecConstants/2020/non_native/cuda.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@
33
// RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/Inputs/common.cpp -o %t.out
44
// RUN: env SYCL_DEVICE_FILTER=cuda %t.out
55

6-
// TODO: enable this test then compile-time error in sycl-post-link is fixed
7-
// UNSUPPORTED: cuda
8-
96
// This test checks correctness of SYCL2020 non-native specialization constants
107
// on CUDA device

SYCL/SpecConstants/2020/vector-convolution-demo.cpp

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

5-
// UNSUPPORTED: cuda || hip
5+
// UNSUPPORTED: hip
66

77
// This test checks the spenario of using specialization constants with an
88
// 'array of array' as well as a 'stuct with an array of array' types for

0 commit comments

Comments
 (0)