Home
last modified time | relevance | path

Searched refs:WarpsNeeded (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/
Dreduction.cu99 uint32_t WarpsNeeded = (NumThreads + WARPSIZE - 1) / WARPSIZE; in nvptx_parallel_reduce_nowait() local
106 if ((NumThreads % WARPSIZE == 0) || (WarpId < WarpsNeeded - 1)) in nvptx_parallel_reduce_nowait()
120 cpyFct(reduce_data, WarpsNeeded); in nvptx_parallel_reduce_nowait()
123 gpu_irregular_warp_reduce(reduce_data, shflFct, WarpsNeeded, in nvptx_parallel_reduce_nowait()
145 uint32_t WarpsNeeded = (NumThreads + WARPSIZE - 1) / WARPSIZE; in nvptx_parallel_reduce_nowait() local
148 cpyFct(reduce_data, WarpsNeeded); in nvptx_parallel_reduce_nowait()
152 gpu_irregular_warp_reduce(reduce_data, shflFct, WarpsNeeded, in nvptx_parallel_reduce_nowait()
287 uint32_t WarpsNeeded = (ActiveThreads + WARPSIZE - 1) / WARPSIZE; in __kmpc_nvptx_teams_reduce_nowait_v2() local
290 cpyFct(reduce_data, WarpsNeeded); in __kmpc_nvptx_teams_reduce_nowait_v2()
294 gpu_irregular_warp_reduce(reduce_data, shflFct, WarpsNeeded, in __kmpc_nvptx_teams_reduce_nowait_v2()