-
Notifications
You must be signed in to change notification settings - Fork 22.6k
hexagon: optimize HMX matmul operations #21071
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
Merged
+80
−49
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
de56c35
optimize hmx_mat_mul functions by calculating row and column tiles up…
chraac b2b21a3
refactor core_dot_chunk_fp16 to use size_t for tile counts and improv…
chraac 5e18f4e
wip
chraac a262832
set scale outside of loop
chraac ee95d92
wip
chraac 33d9431
refactor core_mma_chunk_fp16 and mat_mul_qk_0_d16a32 to use size_t fo…
chraac 3a97015
wip
chraac 6e291d8
wip
chraac f43d68c
refactor transfer_output_chunk_fp16_to_fp32 to use size_t for dimensions
chraac 42bd08c
refactor core_dot_chunk_fp16 to use size_t for tile row stride calcul…
chraac ee95146
wip
chraac 91d88a3
refactor hmx_mat_mul functions to use hvx_vec_splat_f16 for column sc…
chraac 55d7258
refactor hmx_mat_mul_permuted_w16a32_batched to streamline scale sett…
chraac 362c62c
refactor core_dot_chunk_fp16 to improve tile stride calculations for …
chraac e31e30a
Merge branch 'master' into dev-hmx-opt
chraac 7c1a5a3
refactor hmx_mat_mul functions to use Q6_V_vsplat_R for column scales…
chraac 3cd8041
Merge branch 'master' into dev-hmx-opt
chraac 1a71699
Merge branch 'master' into dev-hmx-opt
chraac 2f37db7
fix compiling error
chraac 87ab485
wip
chraac 2a12467
optimize row and column tile indexing in core_mma_chunk_fp16 function
chraac cde679e
wip
chraac 086ccf5
Revert "wip"
chraac 36b9bb1
Add size limit check for HAP_mmap in htp_iface_mmap and drop_mmap fun…
chraac 37a2797
wip
chraac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fallback to
HAP_mmapfor older arch, that fix the crash on my 8gen2 devices