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

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 26 14:11:47 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 cfe-commits mailing list