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

[QST]Synchronizing Threads Between Loading Q/K and V in WASP #1900

Open
ziyuhuang123 opened this issue Oct 27, 2024 · 2 comments
Open

[QST]Synchronizing Threads Between Loading Q/K and V in WASP #1900

ziyuhuang123 opened this issue Oct 27, 2024 · 2 comments

Comments

@ziyuhuang123
Copy link

In WASP, we can't use __syncthreads(), but my requirement is: first, load Q and K, then I want to sync, and finally load V. How should I write this sync?

Is this correct?

cutlass::arch::NamedBarrier::sync(NumMmaThreads + cutlass::NumThreadsPerWarp, static_cast<int>(FwdNamedBarriers::QueryEmpty) /*id*/);

I don't understand the concept of NamedBarrier. Could anyone explain if this is the right approach?

Copy link

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

Copy link

This issue has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant