Lines Matching refs:getWarpSize
28 for (uint32_t mask = mapping::getWarpSize() / 2; mask > 0; mask /= 2) { in gpu_regular_warp_reduce()
51 physical_lane_id = mapping::getThreadIdInBlock() % mapping::getWarpSize(); in gpu_irregular_simd_reduce()
93 (NumThreads + mapping::getWarpSize() - 1) / mapping::getWarpSize(); in nvptx_parallel_reduce_nowait()
100 if ((NumThreads % mapping::getWarpSize() == 0) || (WarpId < WarpsNeeded - 1)) in nvptx_parallel_reduce_nowait()
104 /*LaneCount=*/NumThreads % mapping::getWarpSize(), in nvptx_parallel_reduce_nowait()
106 mapping::getWarpSize()); in nvptx_parallel_reduce_nowait()
112 if (NumThreads > mapping::getWarpSize()) { in nvptx_parallel_reduce_nowait()
130 mapping::getWarpSize()); in nvptx_parallel_reduce_nowait()
141 if (NumThreads > mapping::getWarpSize()) { in nvptx_parallel_reduce_nowait()
143 (NumThreads + mapping::getWarpSize() - 1) / mapping::getWarpSize(); in nvptx_parallel_reduce_nowait()
148 uint32_t WarpId = BlockThreadId / mapping::getWarpSize(); in nvptx_parallel_reduce_nowait()
163 if (s < mapping::getWarpSize()) in roundToWarpsize()
165 return (s & ~(unsigned)(mapping::getWarpSize() - 1)); in roundToWarpsize()
283 if (ActiveThreads > mapping::getWarpSize()) { in __kmpc_nvptx_teams_reduce_nowait_v2()
284 uint32_t WarpsNeeded = (ActiveThreads + mapping::getWarpSize() - 1) / in __kmpc_nvptx_teams_reduce_nowait_v2()
285 mapping::getWarpSize(); in __kmpc_nvptx_teams_reduce_nowait_v2()
290 uint32_t WarpId = ThreadId / mapping::getWarpSize(); in __kmpc_nvptx_teams_reduce_nowait_v2()