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
| 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 |
| 496 | DEVICE int canonical_warp_idx() { return threadIdx.x / WARP_SIZE; } |