[Openmp-commits] [openmp] [OpenMP] Associate the KernelEnvironment with the GenericKernelTy (PR #70383)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Sun Oct 29 10:43:11 PDT 2023


================
@@ -4078,8 +4092,20 @@ OpenMPIRBuilder::createTargetInit(const LocationDescription &Loc, bool IsSPMD) {
   Constant *DebugIndentionLevelVal = ConstantInt::getSigned(Int16, 0);
 
   Function *Kernel = Builder.GetInsertBlock()->getParent();
-  auto [MinThreadsVal, MaxThreadsVal] = readThreadBoundsForKernel(*Kernel);
-  auto [MinTeamsVal, MaxTeamsVal] = readTeamBoundsForKernel(*Kernel);
+
+  /// Manifest the launch configuration in the metadata matching the kernel
+  /// environment.
----------------
jhuber6 wrote:

Doxygen comments?

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


More information about the Openmp-commits mailing list