Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/Async/Transforms/
DAsyncParallelFor.cpp132 SmallVector<Value, 4> tripCounts(op.getNumLoops()); in matchAndRewrite() local
138 tripCounts[i] = divup(range, step); in matchAndRewrite()
158 blockSize[0] = divup(tripCounts[0], targetNumBlocks[0]); in matchAndRewrite()
159 numBlocks[0] = divup(tripCounts[0], blockSize[0]); in matchAndRewrite()
164 blockSize[i] = divup(tripCounts[i], targetNumBlocks[i]); in matchAndRewrite()
165 numBlocks[i] = divup(tripCounts[i], blockSize[i]); in matchAndRewrite()