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

[AOT] Correctly calculate workspace for vector types #17077

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

lhutton1
Copy link
Contributor

When calculating the size of the workspace for a given prim func, the lanes of the data type was not being considered, meaning sizes calculated for dtypes such as "float32x4" were smaller than what they should be. This commit also considers lanes in the calculation.

lhutton1 added 2 commits June 10, 2024 09:31
When calculating the size of the workspace for a given prim func, the
lanes of the data type was not being considered, meaning sizes
calculated for dtypes such as "float32x4" were smaller than what they
should be. This commit also considers lanes in the calculation.

Change-Id: I23a1329ad3c7910784a046e7007a104676ad3664
Change-Id: Iecc9d3b762eae5c65e5a12c9a803178b976286a6
Copy link
Contributor

@ekalda ekalda left a comment

Choose a reason for hiding this comment

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

Thanks @lhutton1 LGTM!

@ekalda ekalda merged commit ab02979 into apache:main Jun 11, 2024
19 checks passed
@lhutton1 lhutton1 deleted the fix-workspace-calc-with-vector-type branch June 11, 2024 18:33
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