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

Method check_phase

include/barrier.h:284–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 }
283
284 DEVICE void check_phase(int val) {
285 if (threadIdx.x % WARP_GROUP_SIZE == 0) {
286 printf("round %d group %d phase is %d\n", val,
287 threadIdx.x / WARP_GROUP_SIZE, stage_.phase());
288 }
289 }
290
291 // Signal completion of Stage and move to the next stage
292 // (group_id) signals to (group_id+1)

Callers

nothing calls this directly

Calls 1

phaseMethod · 0.80

Tested by

no test coverage detected