Skip to content
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

cpu: aarch64: fix acl matmul dim guard for 4d tensor broadcast #2183

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

taoye9
Copy link
Contributor

@taoye9 taoye9 commented Oct 23, 2024

Description

This fix addresses a corner case that causes a segfault in AArch64 matmul. Since this shape wasn't covered in the test cases, I have also updated tests/benchdnn/inputs/matmul/shapes_4d.

For now, we simply redispatch when this shape is encountered and will look for a better solution in the future.

Checklist

General

  • Do all unit and benchdnn tests (make test and make test_benchdnn_*) pass locally for each commit?
  • Have you formatted the code using clang-format?

@taoye9 taoye9 marked this pull request as ready for review October 23, 2024 16:58
@taoye9 taoye9 requested review from a team as code owners October 23, 2024 16:58
@theComputeKid
Copy link
Contributor

@vpirogov can we merge this please?

@vpirogov vpirogov merged commit 1fe8ee5 into uxlfoundation:main Oct 30, 2024
23 of 27 checks passed
@vpirogov vpirogov added the platform:cpu-aarch64 Codeowner: @oneapi-src/onednn-cpu-aarch64 label Oct 30, 2024
@vpirogov
Copy link
Contributor

Sure!

@vpirogov vpirogov added this to the v3.7 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:cpu-aarch64 Codeowner: @oneapi-src/onednn-cpu-aarch64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants