cub::WarpId

Defined in cub/util_ptx.cuh

unsigned int cub::WarpId()

Returns the warp ID of the calling thread.

Warp ID is guaranteed to be unique among warps, but may not correspond to a zero-based ranking within the thread block.