[flang-commits] [flang] [OpenMP] Introduce the initial support for OpenMP kernel language (PR #66844)

Johannes Doerfert via flang-commits flang-commits at lists.llvm.org
Tue Sep 26 14:11:45 PDT 2023


================
@@ -752,27 +751,41 @@ void CGOpenMPRuntimeGPU::emitNonSPMDKernel(const OMPExecutableDirective &D,
   EntryFunctionState EST;
   WrapperFunctionsMap.clear();
 
+  bool IsBareKernel = D.getSingleClause<OMPXBareClause>();
----------------
jdoerfert wrote:

How can a non-spmd kernel be bare? We should force bare kernels to be SPMD, make this an assertion.

https://github.com/llvm/llvm-project/pull/66844


More information about the flang-commits mailing list