Skip to content

[Joint Matrix] Enable different accumulator and output types in spirv. Add tests to cover bfloat16 and half floating-point sizes. #17502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 18 commits into
base: sycl
Choose a base branch
from

Conversation

ggojska
Copy link
Contributor

@ggojska ggojska commented Mar 18, 2025

Updated matrix_compare and matrix_multiply_ref functions to better match bfloat16 calculations on device.

@ggojska ggojska requested a review from a team as a code owner March 18, 2025 12:28
@ggojska ggojska self-assigned this Mar 18, 2025
@ggojska ggojska requested review from YuriPlyakhin and dkhaldi March 18, 2025 12:28
@ggojska ggojska marked this pull request as draft March 18, 2025 13:08
@ggojska ggojska force-pushed the commonhpp_reference_calculation_change branch from f5e46ba to 3a5de5a Compare March 18, 2025 14:45
@ggojska ggojska force-pushed the commonhpp_reference_calculation_change branch from 3a5de5a to c5be2c5 Compare March 21, 2025 13:53
dkhaldi

This comment was marked as outdated.

@ggojska ggojska force-pushed the commonhpp_reference_calculation_change branch from c5be2c5 to 29c35ac Compare March 24, 2025 14:15
@ggojska ggojska force-pushed the commonhpp_reference_calculation_change branch from 29c35ac to 8116625 Compare March 24, 2025 15:01
@ggojska ggojska force-pushed the commonhpp_reference_calculation_change branch from 8116625 to fc7eaf7 Compare March 25, 2025 13:17
@ggojska ggojska temporarily deployed to WindowsCILock June 25, 2025 12:35 — with GitHub Actions Inactive
Copy link
Contributor

@MrSidims MrSidims left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM. Note few comments from Yuri that were resolved, but seem to be not applied (at least in the PR)

@@ -54,7 +54,7 @@
// tests to match the required format and in that case you should just update
// (i.e. reduce) the number and the list below.
//
// NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 248
// NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 249
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can we add sycl/test-e2e/Matrix/joint_matrix_half.cpp to the unsupported tests below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sycl/test-e2e/Matrix/joint_matrix_half.cpp There is patch https://github.com/intel-innersource/drivers.gpu.unified/pull/195521 where support for half and bfloat16 accumulator/output is added to IGC. Do we want to mark it as unsupported untill it is merged or just xfail?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, may be leaving as is is fine, @KornevNikita WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I posted a suggestion below.

@ggojska ggojska temporarily deployed to WindowsCILock June 26, 2025 17:02 — with GitHub Actions Inactive
@ggojska ggojska temporarily deployed to WindowsCILock June 29, 2025 09:46 — with GitHub Actions Inactive
@ggojska ggojska deployed to WindowsCILock June 29, 2025 11:24 — with GitHub Actions Active
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.

5 participants