Skip to content

Commit

Permalink
Merge pull request #13109 from hppritcha/spawn_mem_kind_fix
Browse files Browse the repository at this point in the history
comm: use comm instance for value for memkind set
  • Loading branch information
hppritcha authored Mar 4, 2025
2 parents cbb200d + 5fb0427 commit 42b17ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ompi/communicator/comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 42b17ae

Please sign in to comment.