[clang] [OpenMP] Introduce the initial support for OpenMP kernel language (PR #66844)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 28 11:08:45 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 cfe-commits mailing list