[llvm-branch-commits] [llvm] [offload][omp] Move OpenMP KLE to libomptarget (PR #223761)
Robert Imschweiler via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 23 07:00:53 PDT 2026
ro-i wrote:
Due to a mix of refactoring and changes, this feels a bit difficult to review.
I asked my agent to see how mechanic the changes are and it thinks that there is an issue because prepareBlockMemory() has been moved from GenericKernelTy::launch() to libompaccsupport/device.cpp, which is only reachable from DeviceTy::launchKernel and not from olLaunchKernel_impl anymore. Specifically, there seem to be two issues:
> - StaticBlockMemSize > MaxBlockMemSize → INVALID_ARGUMENT
> - Fallback == Abort && Static + Dyn > MaxBlockMemSize → INVALID_ARGUMENT (liboffload never sets a fallback, so Abort == 0 always held there — this check always applied)
https://github.com/llvm/llvm-project/pull/223761
More information about the llvm-branch-commits
mailing list