From 5fb04278d2b81b9e9ad16107d04d0027a3850c20 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Thu, 20 Feb 2025 14:44:33 -0700 Subject: [PATCH] comm: use comm instance for value for memkind set related to #13108 Signed-off-by: Howard Pritchard --- ompi/communicator/comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/communicator/comm.c b/ompi/communicator/comm.c index a18b91ca7d6..e7cdc68de63 100644 --- a/ompi/communicator/comm.c +++ b/ompi/communicator/comm.c @@ -1459,7 +1459,7 @@ static int ompi_comm_idup_internal (ompi_communicator_t *comm, ompi_group_t *gro } ompi_info_memkind_assert_type type; - ompi_info_memkind_copy_or_set (&comm->super, &newcomp->super, info, &type); + ompi_info_memkind_copy_or_set (&comm->instance->super, &newcomp->super, info, &type); if (OMPI_INFO_MEMKIND_ASSERT_NO_ACCEL == type) { newcomp->c_assertions |= OMPI_COMM_ASSERT_NO_ACCEL_BUF; }