[clang] [flang] [llvm] [OpenMP] Introduce the initial support for OpenMP kernel language (PR #66844)
Robert Imschweiler via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 12:22:15 PDT 2025
================
@@ -843,7 +857,8 @@ void CGOpenMPRuntimeGPU::emitTargetOutlinedFunction(
assert(!ParentName.empty() && "Invalid target region parent name!");
bool Mode = supportsSPMDExecutionMode(CGM.getContext(), D);
- if (Mode)
+ bool IsBareKernel = D.getSingleClause<OMPXBareClause>();
+ if (Mode || IsBareKernel)
----------------
ro-i wrote:
Ah I see, thanks for the clarification
https://github.com/llvm/llvm-project/pull/66844
More information about the llvm-commits
mailing list