Skip to content

Conversation

@kausikmaiti
Copy link

@kausikmaiti kausikmaiti commented Dec 3, 2025

Added support for Column Major C [Bias] in GEMM.

Following changes have been made.
1. XE_LOAD_2D or XE_LOAD_2D_TRANSPOSE used in TiledCopyC based on C [Bias] layout.
2. Static assertion check on C [Bias] layout in xe_builder.inl removed.
3. Reference output generation function GemmComplex fixed.
4. 00_bmg_gemm_bias.cpp example added to test gemm with bias.
5. Python test xe20_gemm_bf16.py updated to test gemm with bias.

@kausikmaiti kausikmaiti marked this pull request as draft December 3, 2025 17:37
@kausikmaiti kausikmaiti requested a review from petercad December 3, 2025 17:38
@kausikmaiti kausikmaiti force-pushed the column_major branch 3 times, most recently from 31cdc64 to d19437b Compare December 9, 2025 14:33
@kausikmaiti kausikmaiti changed the title [WIP] Support Column Major Bias [C] Added support for Column Major C [Bias] in GEMM Dec 9, 2025
@kausikmaiti kausikmaiti marked this pull request as ready for review December 9, 2025 14:45
@kausikmaiti kausikmaiti force-pushed the column_major branch 3 times, most recently from b01175c to 9253503 Compare December 18, 2025 08:25
    Following changes have been made.
    1. XE_LOAD_2D or XE_LOAD_2D_TRANSPOSE used in TiledCopyC based on C [Bias] layout.
    2. Static assertion check on C [Bias] layout in xe_builder.inl removed.
    3. Reference output generation function GemmComplex fixed.
    4. 00_bmg_gemm_bias.cpp example added to test gemm with bias.
    5. Python test xe20_gemm_bf16.py updated to test gemm with bias.

Signed-off-by: Maiti, Kausik <kausik.maiti@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants