[llvm-branch-commits] [llvm] [openmp] [OpenMP][Offload] Add offload runtime support for dyn_groupprivate clause (PR #152831)
Kevin Sala Penades via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Aug 10 11:32:25 PDT 2025
================
@@ -158,6 +158,34 @@ void SharedMemorySmartStackTy::pop(void *Ptr, uint64_t Bytes) {
memory::freeGlobal(Ptr, "Slow path shared memory deallocation");
}
+struct DynCGroupMemTy {
+ void init(KernelLaunchEnvironmentTy *KLE, void *NativeDynCGroup) {
+ Size = 0;
+ Ptr = nullptr;
+ IsFallback = false;
----------------
kevinsala wrote:
With the `clang::loader_uninitialized` attribute in the `DynCGroupMem` variable, I can't use field initializers or a constructor.
https://github.com/llvm/llvm-project/pull/152831
More information about the llvm-branch-commits
mailing list