| 139 | __global__ |
| 140 | __launch_bounds__(1024) |
| 141 | void block_id_kernel(unsigned int* device_output) |
| 142 | { |
| 143 | unsigned int block_id = rocprim::flat_block_id<BlockSizeX, BlockSizeY, BlockSizeZ>(); |
| 144 | if(threadIdx.x) |
| 145 | { |
| 146 | device_output[block_id] = block_id; |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | TYPED_TEST(RocprimThreadTests, FlatBlockID) |
| 151 | { |
nothing calls this directly
no outgoing calls
no test coverage detected