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

Function canonical_warp_idx

include/common.h:496–496  ·  view source on GitHub ↗

Returns a warp index in the CTA. The threads in warp may not be convergent As it doesn't sync the warp, it faster and allows forward progress

Source from the content-addressed store, hash-verified

494/// Returns a warp index in the CTA. The threads in warp may not be convergent
495/// As it doesn't sync the warp, it faster and allows forward progress
496DEVICE int canonical_warp_idx() { return threadIdx.x / WARP_SIZE; }

Callers 1

PipelineTmaAsyncClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected