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()
Этот коммит содержится в:
Коммит
432d79046b
@ -301,10 +301,10 @@ static inline int ompi_osc_rdma_master (ompi_osc_rdma_sync_t *sync, void *local_
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ignore failure here */
|
/* ignore failure here */
|
||||||
(void) ompi_datatype_get_extent (local_datatype, &lb, &extent);
|
(void) ompi_datatype_get_true_extent (local_datatype, &lb, &extent);
|
||||||
local_address = (void *)((intptr_t) local_address + lb);
|
local_address = (void *)((intptr_t) local_address + lb);
|
||||||
|
|
||||||
(void) ompi_datatype_get_extent (remote_datatype, &lb, &extent);
|
(void) ompi_datatype_get_true_extent (remote_datatype, &lb, &extent);
|
||||||
remote_address += lb;
|
remote_address += lb;
|
||||||
|
|
||||||
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "performing rdma on contiguous region. local: %p, "
|
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "performing rdma on contiguous region. local: %p, "
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user