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

[Fix][TIR]fix symbolic strides lower #16000

Merged
merged 2 commits into from Oct 30, 2023
Merged

[Fix][TIR]fix symbolic strides lower #16000

merged 2 commits into from Oct 30, 2023

Conversation

JackWeiw
Copy link
Contributor

compact_buffer_region PASS modify shared buffer stride[0] to

T.int64(72) * T.min((n + T.int64(63)) // T.int64(64) * T.int64(64), T.int64(96)) and stride[1] is T.int64(72)
but in LowerOpaqueBlock PASS it report error:
InternalError: Check failed: (is_zero(floormod(buffer->strides[i - 1], buffer->strides[i]))) is false:

For more detaied discuss, see here

@JackWeiw
Copy link
Contributor Author

CC @Lunderberg @wrongtest-intellif

Copy link
Contributor

@Lunderberg Lunderberg left a comment

Choose a reason for hiding this comment

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

Thank you for retargeting on main, and looks good to me! The current CI failure is due to incorrect python formatting, and looks like you just need to run the black formatter on test_tir_transform_lower_opaque_block.py.

@JackWeiw
Copy link
Contributor Author

Thank you for retargeting on main, and looks good to me! The current CI failure is due to incorrect python formatting, and looks like you just need to run the black formatter on test_tir_transform_lower_opaque_block.py.

This PR has passed all checks. Could u please give the approval to merge this PR?
I will rise another PR to fix bug in PASS InjectPTXAsyncCopy after this PR been merged.
Thank u very much.

@wrongtest-intellif wrongtest-intellif merged commit 57597f6 into apache:main Oct 30, 2023
13 checks passed
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.

None yet

3 participants