Lines Matching defs:NumThreads
72 uint32_t NumThreads = omp_get_num_threads();
73 if (NumThreads == 1)
90 (NumThreads + mapping::getWarpSize() - 1) / mapping::getWarpSize();
97 if ((NumThreads % mapping::getWarpSize() == 0) ||
100 else if (NumThreads > 1) // Only SPMD execution mode comes thru this case.
103 /*LaneCount=*/NumThreads % mapping::getWarpSize(),
110 if (NumThreads > mapping::getWarpSize()) {
140 if (NumThreads > mapping::getWarpSize()) {
142 (NumThreads + mapping::getWarpSize() - 1) / mapping::getWarpSize();
198 uint32_t NumThreads = omp_get_num_threads();
269 NumThreads = roundToWarpsize(kmpcMin(NumThreads, NumRecs));
270 if (ThreadId >= NumThreads)
275 for (uint32_t i = NumThreads + ThreadId; i < NumRecs; i += NumThreads)
279 if (NumThreads > 1) {
284 uint32_t ActiveThreads = kmpcMin(NumRecs, NumThreads);