[clang] [flang] [llvm] [openmp] [OpenMP][Offload] Add offload runtime support for dyn_groupprivate clause (PR #152831)

Alex Duran via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 11 04:55:01 PST 2025


================
@@ -571,8 +572,8 @@ struct AMDGPUKernelTy : public GenericKernelTy {
 
   /// Launch the AMDGPU kernel function.
   Error launchImpl(GenericDeviceTy &GenericDevice, uint32_t NumThreads[3],
-                   uint32_t NumBlocks[3], KernelArgsTy &KernelArgs,
-                   KernelLaunchParamsTy LaunchParams,
+                   uint32_t NumBlocks[3], uint32_t DynBlockMemSize,
----------------
adurang wrote:

could we maybe pass the DynBlockMemSize as part of the LaunchParams struct to avoid a profileration of arguments?

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


More information about the cfe-commits mailing list