Lines Matching refs:NumThreads
77 uint32_t NumThreads = omp_get_num_threads(); in nvptx_parallel_reduce_nowait() local
78 if (NumThreads == 1) in nvptx_parallel_reduce_nowait()
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()
102 else if (NumThreads > 1) // Only SPMD execution mode comes thru this case. in nvptx_parallel_reduce_nowait()
104 /*LaneCount=*/NumThreads % mapping::getWarpSize(), in nvptx_parallel_reduce_nowait()
112 if (NumThreads > 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()
203 uint32_t NumThreads = omp_get_num_threads(); in __kmpc_nvptx_teams_reduce_nowait_v2() local
267 NumThreads = roundToWarpsize(kmpcMin(NumThreads, NumRecs)); in __kmpc_nvptx_teams_reduce_nowait_v2()
268 if (ThreadId >= NumThreads) in __kmpc_nvptx_teams_reduce_nowait_v2()
273 for (uint32_t i = NumThreads + ThreadId; i < NumRecs; i += NumThreads) in __kmpc_nvptx_teams_reduce_nowait_v2()
277 if (NumThreads > 1) { in __kmpc_nvptx_teams_reduce_nowait_v2()
282 uint32_t ActiveThreads = kmpcMin(NumRecs, NumThreads); in __kmpc_nvptx_teams_reduce_nowait_v2()