Skip to content

Commit

Permalink
enable working tests (intel#1059)
Browse files Browse the repository at this point in the history
Enables tests that were marked with UNSUPPORTED: cuda, but are in fact passing.

Result of work on intel#249
  • Loading branch information
t4c1 authored and bb-sycl committed Jul 1, 2022
1 parent 5d445ae commit aa64cd1
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 15 deletions.
4 changes: 2 additions & 2 deletions SYCL/Assert/assert_in_kernels_ndebug.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// FIXME unsupported on CUDA and HIP until fallback libdevice becomes available
// UNSUPPORTED: cuda || hip
// FIXME unsupported on HIP until fallback libdevice becomes available
// UNSUPPORTED: hip
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -DNDEBUG %S/assert_in_kernels.cpp -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
Expand Down
2 changes: 1 addition & 1 deletion SYCL/GroupAlgorithm/exclusive_scan_over_group.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// UNSUPPORTED: cuda || hip
// UNSUPPORTED: hip
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// UNSUPPORTED: ze_debug4,ze_debug-1
Expand Down
2 changes: 1 addition & 1 deletion SYCL/GroupAlgorithm/exclusive_scan_sycl2020.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// UNSUPPORTED: cuda || hip
// UNSUPPORTED: hip
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -I . -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Expand Down
2 changes: 1 addition & 1 deletion SYCL/GroupAlgorithm/inclusive_scan_sycl2020.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// UNSUPPORTED: cuda || hip
// UNSUPPORTED: hip
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -I . -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Expand Down
2 changes: 1 addition & 1 deletion SYCL/GroupAlgorithm/reduce_sycl2020.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// UNSUPPORTED: cuda || hip
// UNSUPPORTED: hip
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -I . -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Expand Down
3 changes: 1 addition & 2 deletions SYCL/SpecConstants/2020/handler-api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// FIXME: ACC devices use emulation path, which is not yet supported
// FIXME: CUDA uses emulation path, which is not yet supported
// UNSUPPORTED: cuda || hip
// UNSUPPORTED: hip

#include <cstdlib>
#include <iostream>
Expand Down
1 change: 0 additions & 1 deletion SYCL/SpecConstants/2020/host_apis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// RUN: -fsycl-dead-args-optimization
// RUN: %BE_RUN_PLACEHOLDER %t.out

// UNSUPPORTED: cuda
// UNSUPPORTED: hip

#include <sycl/sycl.hpp>
Expand Down
3 changes: 1 addition & 2 deletions SYCL/SpecConstants/2020/kernel-bundle-api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// FIXME: ACC devices use emulation path, which is not yet supported
// FIXME: CUDA uses emulation path, which is not yet supported
// UNSUPPORTED: cuda || hip
// UNSUPPORTED: hip

#include <cstdlib>
#include <iostream>
Expand Down
3 changes: 0 additions & 3 deletions SYCL/SpecConstants/2020/non_native/cuda.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/Inputs/common.cpp -o %t.out
// RUN: env SYCL_DEVICE_FILTER=cuda %t.out

// TODO: enable this test then compile-time error in sycl-post-link is fixed
// UNSUPPORTED: cuda

// This test checks correctness of SYCL2020 non-native specialization constants
// on CUDA device
2 changes: 1 addition & 1 deletion SYCL/SpecConstants/2020/vector-convolution-demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

// UNSUPPORTED: cuda || hip
// UNSUPPORTED: hip

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

0 comments on commit aa64cd1

Please sign in to comment.