Skip to content

Commit 3825449

Browse files
authored
[SYCL][Joint Matrix][E2E] Auto-detect Joint Matrix features in LIT (#15408)
Improving maintainability: - Remove dependency of Matrix tests on LIT's params: `gpu-intel-pvc=True`, `matrix=1`, `matrix-tf32=1`, `matrix-fp16=1`. - Remove `matrix`, `matrix-xmx8`, `matrix-tf32`, `matrix-fp16` as not used - Utilize auto-detection of architecture, aspects and runtime query instead. - add handling of `igc-dev` parameter, in case it is passed in the command line. - minor clean up from previous "typos" in `REQUIRES` and `XFAIL` directives
1 parent b65c3ed commit 3825449

File tree

54 files changed

+76
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+76
-94
lines changed

sycl/test-e2e/Matrix/SG32/element_wise_all_ops_half.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// SG size = 32 is not currently supported for SYCL Joint Matrix by IGC on DG2
99
// UNSUPPORTED: gpu-intel-dg2
1010
// REQUIRES: aspect-fp16
11-
// REQUIRES: aspect-ext_intel_matrix, gpu
11+
// REQUIRES: aspect-ext_intel_matrix
1212
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1313

1414
// RUN: %{build} -o %t.out

sycl/test-e2e/Matrix/SG32/element_wise_all_ops_tf32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix-tf32
8+
// REQUIRES: aspect-ext_intel_matrix
99
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1010

1111
// RUN: %{build} -o %t.out

sycl/test-e2e/Matrix/SG32/element_wise_all_sizes.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// REQUIRES: aspect-ext_intel_matrix
99
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1010

11+
// SG size = 32 is not currently supported for SYCL Joint Matrix by IGC on DG2
12+
// UNSUPPORTED: gpu-intel-dg2
13+
1114
// RUN: %{build} -o %t.out
1215
// RUN: %{run} %t.out
1316

sycl/test-e2e/Matrix/SG32/joint_matrix_annotated_ptr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// REQUIRES: aspect-ext_intel_matrix
99
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1010

1111
// RUN: %{build} -o %t.out

sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16_colmajorA_colmajorB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// REQUIRES: aspect-ext_intel_matrix
99
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1010

1111
// RUN: %{build} -o %t.out

sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16_packedB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// REQUIRES: aspect-ext_intel_matrix
99
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1010

1111
// RUN: %{build} -o %t.out

sycl/test-e2e/Matrix/SG32/joint_matrix_colA_rowB_colC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// REQUIRES: aspect-ext_intel_matrix
99
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1010

1111
// RUN: %{build} -o %t.out

sycl/test-e2e/Matrix/SG32/joint_matrix_down_convert.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// REQUIRES: aspect-ext_intel_matrix
99
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1010

11+
// SG size = 32 is not currently supported for SYCL Joint Matrix by IGC on DG2
12+
// UNSUPPORTED: gpu-intel-dg2
13+
1114
// RUN: %{build} -o %t.out
1215
// RUN: %{run} %t.out
1316

sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// UNSUPPORTED: gpu-intel-dg2
1010
// REQUIRES: aspect-fp16
1111
// REQUIRES: aspect-ext_intel_matrix
12-
// REQUIRES: matrix-fp16
1312
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1413

1514
// RUN: %{build} -o %t.out

sycl/test-e2e/Matrix/SG32/joint_matrix_int8_colmajorA_colmajorB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// REQUIRES: aspect-ext_intel_matrix
99
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1010

1111
// RUN: %{build} -o %t.out

0 commit comments

Comments
 (0)