Skip to content

Commit 432d790

Browse files
authored
Merge pull request #2197 from tkordenbrock/topic/master/osc-rdma.put.use.true_extent
osc-rdma: fix datatype lower bound errors in ompi_osc_rdma_master()
2 parents fd55204 + 05f86b5 commit 432d790

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/osc/rdma/osc_rdma_comm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,10 @@ static inline int ompi_osc_rdma_master (ompi_osc_rdma_sync_t *sync, void *local_
301301
}
302302

303303
/* ignore failure here */
304-
(void) ompi_datatype_get_extent (local_datatype, &lb, &extent);
304+
(void) ompi_datatype_get_true_extent (local_datatype, &lb, &extent);
305305
local_address = (void *)((intptr_t) local_address + lb);
306306

307-
(void) ompi_datatype_get_extent (remote_datatype, &lb, &extent);
307+
(void) ompi_datatype_get_true_extent (remote_datatype, &lb, &extent);
308308
remote_address += lb;
309309

310310
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "performing rdma on contiguous region. local: %p, "

0 commit comments

Comments
 (0)