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

[WS-main] Miscellaneous fixes to unblock WS on Hopper #51

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

htyu
Copy link
Contributor

@htyu htyu commented Feb 18, 2025

No description provided.

@htyu htyu requested review from bertmaher and manman-ren February 18, 2025 16:32
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 18, 2025
auto &barSyncOp = *ptxBuilder.create<>("bar.sync");
barSyncOp(ptxBuilder.newConstantOperand(barId),
ptxBuilder.newConstantOperand(numThreads));
auto voidTy = void_ty(op->getContext());
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the fixes! For my own understanding, why do we need to lower manually for WS-main but not ws branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's there in the ws branch too. As mlir::gpu::BarrierOp lowering is supposed to be handled by latest llvm, upstream removes the explicit lowering here. But it's needed for WS to support named barriers so I'm bring it back.

@htyu htyu merged commit d347f75 into ws-main Feb 19, 2025
3 of 6 checks passed
@htyu htyu deleted the hoy/fix-for-main branch February 19, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants