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

Method arrive

include/barrier.h:293–297  ·  view source on GitHub ↗

Signal completion of Stage and move to the next stage (group_id) signals to (group_id+1)

Source from the content-addressed store, hash-verified

291 // Signal completion of Stage and move to the next stage
292 // (group_id) signals to (group_id+1)
293 DEVICE void arrive() {
294 int signalling_id = (params_.group_id + 1) % Length;
295 get_barrier_for_current_stage(signalling_id).arrive();
296 ++stage_;
297 }
298
299 DEVICE void advance() { ++stage_; }
300

Callers

nothing calls this directly

Calls 1

arriveMethod · 0.45

Tested by

no test coverage detected