Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/SCFToGPU/
H A DSCFToGPUPass.cpp31 ForLoopMapper(unsigned numBlockDims, unsigned numThreadDims) { in ForLoopMapper()
32 this->numBlockDims = numBlockDims; in ForLoopMapper()
40 if (failed(convertAffineLoopNestToGPULaunch(forOp, numBlockDims, in runOnOperation()
66 mlir::createAffineForToGPUPass(unsigned numBlockDims, unsigned numThreadDims) { in createAffineForToGPUPass() argument
67 return std::make_unique<ForLoopMapper>(numBlockDims, numThreadDims); in createAffineForToGPUPass()
H A DSCFToGPU.cpp134 unsigned numBlockDims, in checkAffineLoopNestMappable() argument
136 if (numBlockDims < 1 || numThreadDims < 1) { in checkAffineLoopNestMappable()
141 if (numBlockDims > 3) { in checkAffineLoopNestMappable()
157 unsigned numBlockDims, unsigned numThreadDims);
220 unsigned numBlockDims, in createLaunch() argument
226 (numBlockDims < 3 || numThreadDims < 3) in createLaunch()
229 Value gridSizeX = numBlockDims > 0 ? dims[0] : constOne; in createLaunch()
230 Value gridSizeY = numBlockDims > 1 ? dims[1] : constOne; in createLaunch()
231 Value gridSizeZ = numBlockDims > 2 ? dims[2] : constOne; in createLaunch()
264 en.index() < numBlockDims in createLaunch()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Conversion/SCFToGPU/
H A DSCFToGPUPass.h30 createAffineForToGPUPass(unsigned numBlockDims, unsigned numThreadDims);
H A DSCFToGPU.h41 unsigned numBlockDims,
/llvm-project-15.0.7/mlir/include/mlir/Conversion/
H A DPasses.td679 Option<"numBlockDims", "gpu-block-dims", "unsigned", /*default=*/"1u",