[Mlir-commits] [llvm] [mlir] [openmp] [Flang][OpenMP] Add support for schedule clause for GPU (PR #81618)
Johannes Doerfert
llvmlistbot at llvm.org
Tue Feb 20 11:41:53 PST 2024
================
@@ -711,8 +716,8 @@ template <typename Ty> class StaticLoopChunker {
++IV;
}
-
- IV += KernelIteration;
+ // Start the new kernel iteration before the first thread chunk
+ IV += (KernelIteration - EffectiveThreadChunk);
----------------
jdoerfert wrote:
I get the rest but not this change. As argued above, I think KernelIter should be larger.
https://github.com/llvm/llvm-project/pull/81618
More information about the Mlir-commits
mailing list