MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / wait

Method wait

include/barrier.h:280–282  ·  view source on GitHub ↗

Wait on a stage to be unlocked

Source from the content-addressed store, hash-verified

278
279 // Wait on a stage to be unlocked
280 DEVICE void wait() {
281 get_barrier_for_current_stage(params_.group_id).wait(stage_.phase());
282 }
283
284 DEVICE void check_phase(int val) {
285 if (threadIdx.x % WARP_GROUP_SIZE == 0) {

Callers

nothing calls this directly

Calls 2

phaseMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected