From 6f93dd9585a8df47fdcf411d300e72d221f44829 Mon Sep 17 00:00:00 2001 From: Edgar Gabriel Date: Wed, 28 Aug 2024 09:41:05 -0700 Subject: [PATCH] ipc/context_ipc_device.cpp: set barrier_sync set the barrier_sync variable on the context during object creation [ROCm/rocshmem commit: aae62954602f134d6ed92dabda96731dc4683374] --- projects/rocshmem/src/ipc/context_ipc_device.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rocshmem/src/ipc/context_ipc_device.cpp b/projects/rocshmem/src/ipc/context_ipc_device.cpp index 48d7dd9b4f..ede7633b06 100644 --- a/projects/rocshmem/src/ipc/context_ipc_device.cpp +++ b/projects/rocshmem/src/ipc/context_ipc_device.cpp @@ -43,6 +43,7 @@ __host__ IPCContext::IPCContext(Backend *b) auto *bp{backend->ipc_backend_proxy.get()}; + barrier_sync = backend->barrier_sync; g_ret = bp->g_ret; atomic_base_ptr = bp->atomic_ret->atomic_base_ptr; }