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

[Codegen][GPU] Fix alloc creation for dynamic outputs in loop fusion #18665

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

qedawkins
Copy link
Contributor

Setting the memory space attr after creating the alloc_tensor op with dynamic sizes will cause the operand sizes segment to be set incorrectly. Use a builder that sets all necessary attributes at once.

…tputs

Setting the memory space attr after creating the alloc_tensor op with
dynamic sizes will cause the operand sizes segment to be set
incorrectly. Use a builder that sets all necessary attributes at once.
Copy link
Contributor

@nirvedhmeshram nirvedhmeshram left a comment

Choose a reason for hiding this comment

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

LGTM!

@qedawkins qedawkins merged commit 24ee841 into iree-org:main Oct 3, 2024
35 checks passed
@qedawkins qedawkins deleted the fix_dynamic_output branch October 3, 2024 15:11
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