Home
last modified time | relevance | path

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

/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DReduction.cpp93 (NumThreads + mapping::getWarpSize() - 1) / 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()
[all …]
H A DMapping.cpp81 if (Lane == (mapping::getWarpSize() - 1)) in lanemaskGT()
104 return impl::getThreadIdInBlock() / mapping::getWarpSize(); in getWarpId()
108 return mapping::getBlockSize() / mapping::getWarpSize(); in getNumberOfWarpsInBlock()
160 return impl::getThreadIdInBlock() / mapping::getWarpSize(); in getWarpId()
165 mapping::getWarpSize(); in getNumberOfWarpsInBlock()
171 uint32_t getWarpSize() { return getGridValue().GV_Warp_Size; } in getWarpSize() function
182 ~(mapping::getWarpSize() - 1); in isInLastWarp()
218 ASSERT(ThreadIdInWarp < impl::getWarpSize()); in getThreadIdInWarp()
228 uint32_t mapping::getWarpSize() { return impl::getWarpSize(); } in getWarpSize() function in mapping
232 (!IsSPMD * impl::getWarpSize()); in getBlockSize()
[all …]
H A DParallelism.cpp58 if (NumThreads < mapping::getWarpSize()) in determineNumberOfThreads()
61 NumThreads = (NumThreads & ~((uint32_t)mapping::getWarpSize() - 1)); in determineNumberOfThreads()
H A DUtils.cpp88 int Width = mapping::getWarpSize(); in shuffle()
116 int32_t T = ((mapping::getWarpSize() - Width) << 8) | 0x1f; in shuffleDown()
H A DState.cpp128 StorageTotal *= mapping::getWarpSize(); in push()
H A DSynchronization.cpp117 uint32_t WarpSize = mapping::getWarpSize(); in namedBarrier()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDistribute.cpp148 warpOp.getLoc(), newReturnTypes, warpOp.getLaneid(), warpOp.getWarpSize(), in moveRegionToNewWarpOpAndReplaceReturns()
348 if (targetShape[position] % warpOp.getWarpSize() != 0) in tryDistributeOp()
350 targetShape[position] = targetShape[position] / warpOp.getWarpSize(); in tryDistributeOp()
413 loc, TypeRange(), newWarpOp.getLaneid(), newWarpOp.getWarpSize()); in tryExtractOp()
813 warpOp.getWarpSize(), newForOp.getRegionIterArgs(), in matchAndRewrite()
883 if (vectorType.getShape()[0] % warpOp.getWarpSize() != 0) in matchAndRewrite()
893 int64_t numElements = vectorType.getShape()[0] / warpOp.getWarpSize(); in matchAndRewrite()
915 reductionOp.getKind(), newWarpOp.getWarpSize()); in matchAndRewrite()
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/
H A DMapping.h73 uint32_t getWarpSize();
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp5059 int64_t warpSize = getWarpSize(); in verify()
5077 verifyDistributedType(lhs, rhs, getWarpSize(), getOperation())); in areTypesCompatible()