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

Shilei Tian via flang-commits flang-commits at lists.llvm.org
Thu Sep 28 11:08:46 PDT 2023


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

I made the change in the parent scope such that a bare kernel is taken as SPMD as well.

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


More information about the flang-commits mailing list