From e2b05e8bc55371ef12294c45467d91628e61486f Mon Sep 17 00:00:00 2001 From: "Gojska, Grzegorz" Date: Tue, 15 Jul 2025 18:25:56 +0200 Subject: [PATCH 1/6] Remove unsupported shapes/layouts --- sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp | 4 ++-- sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp | 4 ++-- sycl/test-e2e/Matrix/joint_matrix_half.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp b/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp index df1eecdd66c88..5787304034723 100644 --- a/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp +++ b/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp @@ -35,8 +35,8 @@ int main() { for (unsigned int i = 0; i < combinations.size(); i++) { if (combinations[i].nsize == 0) { // Intel AMX test(); - test(); + test(); break; } diff --git a/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp b/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp index 61afad345c511..5d6e4764b0abe 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp @@ -29,8 +29,8 @@ int main() { for (unsigned int i = 0; i < combinations.size(); i++) { if (combinations[i].nsize == 0) { // Intel AMX test(); - test(); + test(); break; } diff --git a/sycl/test-e2e/Matrix/joint_matrix_half.cpp b/sycl/test-e2e/Matrix/joint_matrix_half.cpp index ab97297cbda1a..4e7cba5877cf5 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_half.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_half.cpp @@ -26,8 +26,8 @@ int main() { for (unsigned int i = 0; i < combinations.size(); i++) { if (combinations[i].nsize == 0) { // Intel AMX test(); - test(); + test(); break; } From 9be9ea5be32024417e8a97c18af0fb6739335bf0 Mon Sep 17 00:00:00 2001 From: "Gojska, Grzegorz" Date: Thu, 17 Jul 2025 16:41:20 +0200 Subject: [PATCH 2/6] Add Jira tracker. Add all shapes and layouts --- sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp | 5 +++++ sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp | 4 ++++ sycl/test-e2e/Matrix/joint_matrix_half.cpp | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp b/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp index 5787304034723..7bdc4bb27b9ca 100644 --- a/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp +++ b/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp @@ -38,6 +38,11 @@ int main() { layout::ext_intel_packed, 2>(); test(); + // VNNI transform does not work for half yet (CMPLRLLVM-69129) + // test(); + // test(); break; } diff --git a/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp b/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp index 5d6e4764b0abe..cb47f075c71ef 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp @@ -32,6 +32,10 @@ int main() { layout::ext_intel_packed, 2>(); test(); + test(); + test(); break; } diff --git a/sycl/test-e2e/Matrix/joint_matrix_half.cpp b/sycl/test-e2e/Matrix/joint_matrix_half.cpp index 4e7cba5877cf5..dd437945d4bb6 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_half.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_half.cpp @@ -29,6 +29,11 @@ int main() { layout::ext_intel_packed, 2>(); test(); + // VNNI transform does not work for half yet (CMPLRLLVM-69129) + // test(); + // test(); break; } From c9de02bf4fa925e5ca6eb66e159dcde73cb46b42 Mon Sep 17 00:00:00 2001 From: "Gojska, Grzegorz" Date: Fri, 18 Jul 2025 17:10:05 +0200 Subject: [PATCH 3/6] Add test cases --- .../Matrix/SG32/joint_matrix_bfloat16.cpp | 12 ++++++++---- sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp | 4 ++-- sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp | 16 ++++++++-------- sycl/test-e2e/Matrix/joint_matrix_half.cpp | 4 ++-- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp b/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp index fb533762d91e4..8908cf1ebe32a 100644 --- a/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp +++ b/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp @@ -35,10 +35,14 @@ int main() { for (unsigned int i = 0; i < combinations.size(); i++) { if (combinations[i].nsize == 0) { // Intel AMX - test(); - test(); + test(); + test(); + test(); + test(); break; } diff --git a/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp b/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp index 7bdc4bb27b9ca..36966d5b35fe5 100644 --- a/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp +++ b/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp @@ -40,9 +40,9 @@ int main() { layout::ext_intel_packed, 2>(); // VNNI transform does not work for half yet (CMPLRLLVM-69129) // test(); + // layout::row_major, 1>(); // test(); + // layout::row_major, 1>(); break; } diff --git a/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp b/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp index cb47f075c71ef..4b506d56b12e2 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp @@ -28,14 +28,14 @@ int main() { for (unsigned int i = 0; i < combinations.size(); i++) { if (combinations[i].nsize == 0) { // Intel AMX - test(); - test(); - test(); - test(); + test(); + test(); + test(); + test(); break; } diff --git a/sycl/test-e2e/Matrix/joint_matrix_half.cpp b/sycl/test-e2e/Matrix/joint_matrix_half.cpp index dd437945d4bb6..4c20bdfe9b8a7 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_half.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_half.cpp @@ -31,9 +31,9 @@ int main() { layout::ext_intel_packed, 2>(); // VNNI transform does not work for half yet (CMPLRLLVM-69129) // test(); + // layout::row_major, 1>(); // test(); + // layout::row_major, 1>(); break; } From 62ac27f70c219b3278958438fc7f2d452bc5937f Mon Sep 17 00:00:00 2001 From: "Gojska, Grzegorz" Date: Fri, 18 Jul 2025 17:25:40 +0200 Subject: [PATCH 4/6] fix indentations --- sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp | 4 ++-- sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp b/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp index 8908cf1ebe32a..607724be8fc1e 100644 --- a/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp +++ b/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp @@ -36,9 +36,9 @@ int main() { for (unsigned int i = 0; i < combinations.size(); i++) { if (combinations[i].nsize == 0) { // Intel AMX test(); + layout::ext_intel_packed, 2>(); test(); + layout::ext_intel_packed, 2>(); test(); test(); + layout::ext_intel_packed, 2>(); test(); + layout::ext_intel_packed, 2>(); test(); test Date: Fri, 18 Jul 2025 17:26:44 +0200 Subject: [PATCH 5/6] fix indentations 2 --- .../Matrix/SG32/joint_matrix_bfloat16.cpp | 16 ++++++++-------- sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp b/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp index 607724be8fc1e..2e26253f55984 100644 --- a/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp +++ b/sycl/test-e2e/Matrix/SG32/joint_matrix_bfloat16.cpp @@ -35,14 +35,14 @@ int main() { for (unsigned int i = 0; i < combinations.size(); i++) { if (combinations[i].nsize == 0) { // Intel AMX - test(); - test(); - test(); - test(); + test(); + test(); + test(); + test(); break; } diff --git a/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp b/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp index 5f47ad1703593..fb69ade01f73f 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_bfloat16.cpp @@ -28,14 +28,14 @@ int main() { for (unsigned int i = 0; i < combinations.size(); i++) { if (combinations[i].nsize == 0) { // Intel AMX - test(); - test(); - test(); - test(); + test(); + test(); + test(); + test(); break; } From abb9ad2e475af6fe80fa8ee7e9d8fe4d7668eee1 Mon Sep 17 00:00:00 2001 From: "Gojska, Grzegorz" Date: Fri, 18 Jul 2025 18:23:26 +0200 Subject: [PATCH 6/6] Formatter changes for comments --- sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp | 10 +++++----- sycl/test-e2e/Matrix/joint_matrix_half.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp b/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp index 36966d5b35fe5..87a0a9856af61 100644 --- a/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp +++ b/sycl/test-e2e/Matrix/SG32/joint_matrix_half.cpp @@ -38,11 +38,11 @@ int main() { layout::ext_intel_packed, 2>(); test(); - // VNNI transform does not work for half yet (CMPLRLLVM-69129) - // test(); - // test(); + // VNNI transform does not work for half yet (CMPLRLLVM-69129) + // test(); + // test(); break; } diff --git a/sycl/test-e2e/Matrix/joint_matrix_half.cpp b/sycl/test-e2e/Matrix/joint_matrix_half.cpp index 4c20bdfe9b8a7..08f188b269f2f 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_half.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_half.cpp @@ -29,11 +29,11 @@ int main() { layout::ext_intel_packed, 2>(); test(); - // VNNI transform does not work for half yet (CMPLRLLVM-69129) - // test(); - // test(); + // VNNI transform does not work for half yet (CMPLRLLVM-69129) + // test(); + // test(); break; }