Skip to content

Commit 1eed77b

Browse files
authored
[Joint matrix] Remove cpu-unsupported shapes/layouts in Matrix tests. (#19475)
1 parent 724f0b5 commit 1eed77b

File tree

4 files changed

+26
-8
lines changed

4 files changed

+26
-8
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@ int main() {
3636
for (unsigned int i = 0; i < combinations.size(); i++) {
3737
if (combinations[i].nsize == 0) { // Intel AMX
3838
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
39-
layout::row_major, 1>();
40-
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
4139
layout::ext_intel_packed, 2>();
40+
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 32,
41+
layout::ext_intel_packed, 2>();
42+
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
43+
layout::row_major, 1>();
44+
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 32,
45+
layout::row_major, 1>();
4246
break;
4347
}
4448

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,14 @@ int main() {
3535
for (unsigned int i = 0; i < combinations.size(); i++) {
3636
if (combinations[i].nsize == 0) { // Intel AMX
3737
test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
38-
layout::row_major, 1>();
39-
test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
4038
layout::ext_intel_packed, 2>();
39+
test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 32,
40+
layout::ext_intel_packed, 2>();
41+
// VNNI transform does not work for half yet (CMPLRLLVM-69129)
42+
// test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
43+
// layout::row_major, 1>();
44+
// test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 32,
45+
// layout::row_major, 1>();
4146
break;
4247
}
4348

sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ int main() {
2929
for (unsigned int i = 0; i < combinations.size(); i++) {
3030
if (combinations[i].nsize == 0) { // Intel AMX
3131
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
32-
layout::row_major, 1>();
33-
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
3432
layout::ext_intel_packed, 2>();
33+
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 32,
34+
layout::ext_intel_packed, 2>();
35+
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
36+
layout::row_major, 1>();
37+
test<bfloat16, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 32,
38+
layout::row_major, 1>();
3539
break;
3640
}
3741

sycl/test-e2e/Matrix/joint_matrix_half.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,14 @@ int main() {
2626
for (unsigned int i = 0; i < combinations.size(); i++) {
2727
if (combinations[i].nsize == 0) { // Intel AMX
2828
test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
29-
layout::row_major, 1>();
30-
test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
3129
layout::ext_intel_packed, 2>();
30+
test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 32,
31+
layout::ext_intel_packed, 2>();
32+
// VNNI transform does not work for half yet (CMPLRLLVM-69129)
33+
// test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 16,
34+
// layout::row_major, 1>();
35+
// test<half, float, float, /*TM*/ 16, /*TN*/ 16, /*TK*/ 32,
36+
// layout::row_major, 1>();
3237
break;
3338
}
3439

0 commit comments

Comments
 (0)