Skip to content

Commit 42b17ae

Browse files
authored
Merge pull request #13109 from hppritcha/spawn_mem_kind_fix
comm: use comm instance for value for memkind set
2 parents cbb200d + 5fb0427 commit 42b17ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/communicator/comm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ static int ompi_comm_idup_internal (ompi_communicator_t *comm, ompi_group_t *gro
14591459
}
14601460

14611461
ompi_info_memkind_assert_type type;
1462-
ompi_info_memkind_copy_or_set (&comm->super, &newcomp->super, info, &type);
1462+
ompi_info_memkind_copy_or_set (&comm->instance->super, &newcomp->super, info, &type);
14631463
if (OMPI_INFO_MEMKIND_ASSERT_NO_ACCEL == type) {
14641464
newcomp->c_assertions |= OMPI_COMM_ASSERT_NO_ACCEL_BUF;
14651465
}

0 commit comments

Comments
 (0)