Skip to content

Conversation

@chengjunlu
Copy link
Contributor

@chengjunlu chengjunlu commented Nov 21, 2024

Reland d36e579 that is temporarily reverted in #2783 by 016ee00.

The PR based on PR #2766

@chengjunlu chengjunlu linked an issue Nov 21, 2024 that may be closed by this pull request
@whitneywhtsang
Copy link
Contributor

Please fix the UT failures.

if (auto sliceLayout = mlir::dyn_cast<SliceEncodingAttr>(layout)) {
threadsPerWarp = getThreadsPerWarp(sliceLayout.getParent());
threadsPerWarp.erase(threadsPerWarp.begin() + sliceLayout.getDim());
warpsPerCTA = getWarpsPerCTA(sliceLayout.getParent());
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a real bug of the upstream. But the NV and AMD code doesn't uses this legacy layout function.
Need to align our lowering code to the upstream once we enabled the LL for DPAS related layout.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please create an issue to track this.

@chengjunlu chengjunlu force-pushed the chengjun/reland_d36e579 branch 2 times, most recently from 5ea8ec8 to 9a0e517 Compare November 22, 2024 04:04
Copy link
Contributor

@whitneywhtsang whitneywhtsang left a comment

Choose a reason for hiding this comment

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

Please do not squash and merge.

@whitneywhtsang whitneywhtsang force-pushed the chengjun/reland_d36e579 branch from 9a0e517 to 1aebd43 Compare November 22, 2024 08:53
@whitneywhtsang whitneywhtsang merged commit 1aebd43 into main Nov 22, 2024
5 checks passed
@whitneywhtsang whitneywhtsang deleted the chengjun/reland_d36e579 branch November 22, 2024 09:47
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.

Reland upstream commit d36e579

3 participants