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

Increasing spatial dim of C32 and D32 in GeMMX to 2 #369

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

xiaoling-yi
Copy link
Collaborator

@xiaoling-yi xiaoling-yi commented Oct 11, 2024

In this PR, we increase the spatial dimension of the C32 and D32 ports in GeMMX to 2 (previously it was 1).
With this, we add an extra stride in the spatial address generation for C32 and D32 (now can jump at 2 elements and row granularity), thus enabling more data layout opportunities for reducing the bank conflict.

@jorendumoulin @JosseVanDelm , please have a look at it, now we have two extra spatial strides CSRs. Please let me know if there is anything unclear.

@xiaoling-yi xiaoling-yi changed the title inc spatial dim of c and d in gemmx to 2 to enable more layout optima… Increasing spatial dim of C32 and D32 in GeMMX to 2 Oct 11, 2024
Copy link

@jorendumoulin jorendumoulin left a comment

Choose a reason for hiding this comment

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

Okay! This looks clear to me

@xiaoling-yi xiaoling-yi merged commit c70a5ff into main Oct 14, 2024
22 of 23 checks passed
@xiaoling-yi xiaoling-yi deleted the xyi/2-spatial-bound-for-gemmx-c-d branch October 14, 2024 14:20
@JosseVanDelm
Copy link

Thanks @xiaoling-yi !

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.

3 participants