Skip to content

Commit 306e5ff

Browse files
authored
[SYCL Joint Matrix][E2E] Add 1d vector load/store tests for big combinations (#13814)
This change is partially addressing requirement to enable 1d block load testing (IGC_JointMatrixLoadStoreOpt=2) for only big combinations 32x64x16, 1x64x16, 16x16x16. This environment variable was added to as minimum tests as possible, while keeping the coverage of big combinations to maximum. This environment variable was not added to Matrix/element_wise_ops.cpp yet, because, IGC compiler needs to be fixed to pass this test with IGC_JointMatrixLoadStoreOpt=2
1 parent d39563a commit 306e5ff

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

sycl/test-e2e/Matrix/joint_matrix_bfloat16_packedB.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
// RUN: %{build} -o %t.out
1212
// RUN: %{run} %t.out
13+
// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=2 %{run} %t.out %}
1314

1415
#include "common.hpp"
1516
#include "joint_matrix_bfloat16_packedB_impl.hpp"

sycl/test-e2e/Matrix/joint_matrix_rowmajorA_rowmajorB.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
// RUN: %{build} -o %t.out
1313
// RUN: %{run} %t.out
14+
// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=2 %{run} %t.out %}
1415

1516
// This tests support of row major layout for matrix B which does automatic VNNI
1617
// transform. This is currently only available on AMX and XMX of PVC

sycl/test-e2e/Matrix/joint_matrix_rowmajorA_rowmajorB_impl.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ int main() {
123123
int32_t>();
124124

125125
if (combination.nsize == 16) { // architecture::intel_gpu_pvc
126+
res += gemm_row_major<16, 16, 16, class bf16_16x16x16, bfloat16,
127+
bfloat16, float>();
126128
res += gemm_row_major<1, 64, 16, class bf16_1x64x16, bfloat16, bfloat16,
127129
float>();
128130
res += gemm_row_major<32, 64, 16, class bf16_32x64x16, bfloat16,

0 commit comments

Comments
 (0)