Returns the warp id in warp group
| 445 | |
| 446 | // Returns the warp id in warp group |
| 447 | DEVICE int warp_id_in_warp_group() { |
| 448 | return warp_id_in_block() % (WARP_GROUP_SIZE / WARP_SIZE); |
| 449 | } |
| 450 | |
| 451 | // A generic Swizzle functor |
| 452 | /* 0bxxxxxxxxxxxxxxxYYYxxxxxxxZZZxxxx |
nothing calls this directly
no test coverage detected