Skip to content

Commit 6f3ce0f

Browse files
[SYCL][Joint Matrix] Test combinations are queried (#13877)
Supported matrix dimensions are queried from the device, and inform the tests which tile sizes one can use. This is a subset of all tests that are planned to be modified. --------- Co-authored-by: Yury Plyakhin <[email protected]>
1 parent 4734d7b commit 6f3ce0f

22 files changed

+306
-280
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// SG size = 32 is not currently supported for SYCL Joint Matrix by IGC on DG2
9+
// UNSUPPORTED: gpu-intel-dg2
10+
// REQUIRES: aspect-ext_intel_matrix
911
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1012

1113
// RUN: %{build} -o %t.out
@@ -14,6 +16,5 @@
1416
#include "../common.hpp"
1517

1618
#define SG_SZ 32
17-
constexpr size_t TN = 16;
1819

1920
#include "../element_wise_abc_impl.hpp"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8+
// SG size = 32 is not currently supported for SYCL Joint Matrix by IGC on DG2
9+
// UNSUPPORTED: gpu-intel-dg2
810
// REQUIRES: aspect-fp16
9-
// REQUIRES: matrix,gpu
10-
// REQUIRES: matrix-fp16
11+
// REQUIRES: aspect-ext_intel_matrix, gpu
1112
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1213

1314
// RUN: %{build} -o %t.out
@@ -16,6 +17,5 @@
1617
#include "../common.hpp"
1718

1819
#define SG_SZ 32
19-
constexpr size_t TN = 16;
2020

2121
#include "../element_wise_all_ops_half_impl.hpp"

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// SG size = 32 is not currently supported for SYCL Joint Matrix by IGC on DG2
9+
// UNSUPPORTED: gpu-intel-dg2
10+
// REQUIRES: aspect-ext_intel_matrix
911
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1012

1113
// RUN: %{build} -o %t.out
@@ -14,6 +16,5 @@
1416
#include "../common.hpp"
1517

1618
#define SG_SZ 32
17-
constexpr size_t TN = 16;
1819

1920
#include "../element_wise_all_ops_int8_impl.hpp"

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// REQUIRES: matrix
8+
// SG size = 32 is not currently supported for SYCL Joint Matrix by IGC on DG2
9+
// UNSUPPORTED: gpu-intel-dg2
10+
// REQUIRES: aspect-ext_intel_matrix
911
// REQUIRES-INTEL-DRIVER: lin: 27501, win: 101.4943
1012

1113
// RUN: %{build} -o %t.out
@@ -16,6 +18,5 @@
1618
#include "../common.hpp"
1719

1820
#define SG_SZ 32
19-
constexpr size_t TN = 16;
2021

2122
#include "../element_wise_all_ops_int8_packed_impl.hpp"

sycl/test-e2e/Matrix/XMX8/element_wise_abc.cpp

Lines changed: 0 additions & 17 deletions
This file was deleted.

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

Lines changed: 0 additions & 19 deletions
This file was deleted.

sycl/test-e2e/Matrix/XMX8/element_wise_all_ops_int8.cpp

Lines changed: 0 additions & 17 deletions
This file was deleted.

sycl/test-e2e/Matrix/XMX8/element_wise_all_ops_int8_packed.cpp

Lines changed: 0 additions & 19 deletions
This file was deleted.

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

Lines changed: 0 additions & 18 deletions
This file was deleted.

sycl/test-e2e/Matrix/XMX8/element_wise_all_sizes_no_split.cpp

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)