Skip to content

Commit 94362c4

Browse files
committed
Make tests unsupported on target-amd
1 parent 9414c37 commit 94362c4

17 files changed

+18
-6
lines changed

sycl/test-e2e/Adapters/interop-level-zero-image-get-native-mem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: level_zero, level_zero_dev_kit, aspect-ext_intel_legacy_image
1+
// REQUIRES: target-spir, level_zero, level_zero_dev_kit, aspect-ext_intel_legacy_image
22
// RUN: %{build} %level_zero_options -o %t.out
33
// RUN: %{run} %t.out 2>&1 | FileCheck %s
44

sycl/test-e2e/Adapters/interop-level-zero-image-ownership.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: level_zero, level_zero_dev_kit, aspect-ext_intel_legacy_image
1+
// REQUIRES: target-spir, level_zero, level_zero_dev_kit, aspect-ext_intel_legacy_image
22

33
// the ze_debug=4 memory check will fail on this test, since it itentionally
44
// makes an 'unbalanced' create/destroy situation for the test.

sycl/test-e2e/Adapters/interop-level-zero-image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: level_zero, level_zero_dev_kit, aspect-ext_intel_legacy_image
1+
// REQUIRES: target-spir, level_zero, level_zero_dev_kit, aspect-ext_intel_legacy_image
22
// RUN: %{build} %level_zero_options -o %t.out
33
// RUN: %{run} %t.out
44

sycl/test-e2e/Basic/built-ins.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// RUN: %{run} %t_var.out | FileCheck %s
66

77
// Hits an assertion and kernel page fault with AMD:
8-
// UNSUPPORTED: hip
8+
// UNSUPPORTED: target-amd
99
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/14404
1010

1111
#include <sycl/detail/core.hpp>

sycl/test-e2e/Basic/image/srgba-read.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/14387
44
// RUN: %{build} -o %t.out
55
// RUN: %{run} %t.out | FileCheck %s
6+
//
7+
// UNSUPPORTED: target-amd
68

79
#include <iostream>
810
#include <sycl/accessor_image.hpp>

sycl/test-e2e/EnqueueNativeCommand/custom-command-hip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// FIXME: the rocm include path and link path are highly platform dependent,
22
// we should set this with some variable instead.
3-
// RUN: %{build} -Wno-error=deprecated-pragma -o %t.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
3+
// RUN: %{run-aux} %{build} -Wno-error=deprecated-pragma -o %t.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
44
// RUN: %{run} %t.out
55
// REQUIRES: target-amd
66

sycl/test-e2e/HostInteropTask/interop-task-hip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// FIXME: the rocm include path and link path are highly platform dependent,
22
// we should set this with some variable instead.
3-
// RUN: %{build} -Wno-error=deprecated-pragma -Wno-error=deprecated-declarations -o %t.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
3+
// RUN: %{run-aux} %{build} -Wno-error=deprecated-pragma -Wno-error=deprecated-declarations -o %t.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
44
// RUN: %{run} %t.out
55
// REQUIRES: target-amd
66

sycl/test-e2e/bindless_images/array/fetch_sampled_array.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_image_array
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run} %t.out

sycl/test-e2e/bindless_images/examples/example_3_1D_mipmap_anisotropic_filtering_and_levels.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: aspect-ext_oneapi_mipmap
22
// REQUIRES: aspect-ext_oneapi_mipmap_anisotropy
3+
// UNSUPPORTED: target-amd
34

45
// RUN: %{build} -o %t.out
56
// RUN: %{run} %t.out

sycl/test-e2e/bindless_images/mipmap/mipmap_read_1D.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_mipmap
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run-unfiltered-devices} %t.out

sycl/test-e2e/bindless_images/mipmap/mipmap_read_2D.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_mipmap
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run-unfiltered-devices} %t.out

sycl/test-e2e/bindless_images/mipmap/mipmap_read_3D.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_mipmap
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run-unfiltered-devices} %t.out

sycl/test-e2e/bindless_images/sampled_fetch/fetch_1D_USM.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_bindless_sampled_image_fetch_1d_usm
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run} %t.out

sycl/test-e2e/bindless_images/sampled_fetch/fetch_2D.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_bindless_sampled_image_fetch_2d
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run} %t.out

sycl/test-e2e/bindless_images/sampled_fetch/fetch_2D_USM.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_bindless_sampled_image_fetch_2d_usm
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run} %t.out

sycl/test-e2e/bindless_images/sampled_fetch/fetch_3D.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_bindless_sampled_image_fetch_3d
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run} %t.out

sycl/test-e2e/bindless_images/user_types/mipmap_read_user_type_2D.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: aspect-ext_oneapi_mipmap
2+
// UNSUPPORTED: target-amd
23

34
// RUN: %{build} -o %t.out
45
// RUN: %{run} %t.out

0 commit comments

Comments
 (0)