Skip to content

Conversation

@yuanhang-dev
Copy link

@yuanhang-dev yuanhang-dev commented Oct 13, 2025

Rewrite MMA unit tests to use the cooperative GEMM interface (test_cooperative_gemm_col_major_layout) instead of the legacy standalone MMA_Test implementation.

Changes:

  • Removed legacy kernel implementation : The old gemm_device, gemm, and MMA_Test template functions with manual SYCL kernel launch logic were removed in favor of reusing the shared cooperative GEMM test infrastructure.

  • Reduced problem sizes: All tests now use [Shape<_128, _128, _16>{}] (128x128x16) instead of the previous (512x512x256) due to shared local memory limitations.

  • Added sub_group_size to cooperative GEMM launch policy : Added sc_exp::kernel_properties{sycl_ext::sub_group_size<16>} to the kernel launch policy in test_cooperative_gemm and test_cooperative_gemm_rmem_c. This is required because if the sub-group size is not explicitly specified, it may lead to GEMM computation errors on some hardware (e.g., PVC).

@yuanhang-dev yuanhang-dev force-pushed the yh/rewrite_mma branch 2 times, most recently from 6f44bc8 to 6e2a6ac Compare October 13, 2025 08:41
@Antonyvance Antonyvance added the Tests For Unit tests and Benchmark tests and general validation specific changes label Oct 17, 2025
@yuanhang-dev yuanhang-dev force-pushed the yh/rewrite_mma branch 2 times, most recently from 97b9cf6 to 2202405 Compare December 9, 2025 08:48
@tdeng5 tdeng5 self-requested a review December 10, 2025 07:30
@tdeng5 tdeng5 enabled auto-merge (squash) December 25, 2025 05:46
@tdeng5 tdeng5 requested a review from taozha2 December 25, 2025 05:46
auto-merge was automatically disabled December 26, 2025 03:35

Head branch was pushed to by a user without write access

@tdeng5 tdeng5 enabled auto-merge (squash) December 26, 2025 05:47
@tdeng5 tdeng5 merged commit 9990a63 into intel:main Dec 26, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tests For Unit tests and Benchmark tests and general validation specific changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants