Skip to content

Commit fee4449

Browse files
authored
[SYCL][Matrix][E2E] Remove REQUIRES: build-and-run-mode from Matrix tests (#16787)
As of #16725 tests that do not build for `spir64` do not need to be marked as exceptions for split build/run with `REQUIRES: build-and-run-mode`, instead we can mark them as `REQUIRES: target-<nvidia/amd>`. This patch replaces the `REQUIRES: build-and-run-mode` directives in Matrix tests with `REQUIRES: target-amd` or `REQUIRES: target-nvidia`.
1 parent 4c198ee commit fee4449

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

sycl/test-e2e/Matrix/joint_matrix_hip_gfx90a.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// RUN: %clangxx -fsycl -fsycl-targets=amd_gpu_gfx90a %s -o %t.out
1010
// RUN: %{run} %t.out
1111

12+
// REQUIRES: target-amd
1213
// REQUIRES: arch-amd_gpu_gfx90a
13-
// REQUIRES: build-and-run-mode
1414

1515
#include "joint_matrix_hip_apply.hpp"
1616
#include "joint_matrix_hip_copy.hpp"

sycl/test-e2e/Matrix/joint_matrix_hip_half_gfx90a.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
// RUN: %clangxx -fsycl -fsycl-targets=amd_gpu_gfx90a %s -o %t.out
1010
// RUN: %{run} %t.out
1111

12+
// REQUIRES: target-amd
1213
// REQUIRES: arch-amd_gpu_gfx90a
1314
// REQUIRES: aspect-fp16
14-
// REQUIRES: build-and-run-mode
1515

1616
#include "joint_matrix_hip_apply.hpp"
1717
#include "joint_matrix_hip_copy.hpp"

sycl/test-e2e/Matrix/joint_matrix_tensorcores_sm70.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: cuda
10-
// REQUIRES: build-and-run-mode
9+
// REQUIRES: target-nvidia
1110
// RUN: %{build} -Xsycl-target-backend --cuda-gpu-arch=sm_70 -o %t.out
1211
// RUN: %{run} %t.out
1312
//

sycl/test-e2e/Matrix/runtime_query_hip_gfx90a.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// REQUIRES: target-amd
910
// REQUIRES: arch-amd_gpu_gfx90a
10-
// REQUIRES: build-and-run-mode
1111
// RUN: %clangxx -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx90a %s -o %t.out
1212
// RUN: %{run} %t.out
1313

0 commit comments

Comments
 (0)