fix eager RDMA on PPC64.
This commit was SVN r10059.
Этот коммит содержится в:
родитель
dd44d36be0
Коммит
f590d8a190
@ -34,7 +34,7 @@ typedef struct mca_btl_openib_eager_rdma_local_t mca_btl_openib_eager_rdma_local
|
|||||||
|
|
||||||
struct mca_btl_openib_eager_rdma_remote_t {
|
struct mca_btl_openib_eager_rdma_remote_t {
|
||||||
ompi_ptr_t base; /**< address of remote buffer */
|
ompi_ptr_t base; /**< address of remote buffer */
|
||||||
uint64_t rkey; /**< RKey for accessing remote buffer */
|
uint32_t rkey; /**< RKey for accessing remote buffer */
|
||||||
uint16_t head; /**< RDMA buffer to post to */
|
uint16_t head; /**< RDMA buffer to post to */
|
||||||
int32_t tokens; /**< number of rdam tokens */
|
int32_t tokens; /**< number of rdam tokens */
|
||||||
#ifdef OMPI_ENABLE_DEBUG
|
#ifdef OMPI_ENABLE_DEBUG
|
||||||
|
@ -174,7 +174,7 @@ static inline int mca_btl_openib_endpoint_post_send(mca_btl_openib_module_t* ope
|
|||||||
#endif
|
#endif
|
||||||
frag->wr_desc.sr_desc.wr.rdma.rkey = endpoint->eager_rdma_remote.rkey;
|
frag->wr_desc.sr_desc.wr.rdma.rkey = endpoint->eager_rdma_remote.rkey;
|
||||||
frag->wr_desc.sr_desc.wr.rdma.remote_addr =
|
frag->wr_desc.sr_desc.wr.rdma.remote_addr =
|
||||||
endpoint->eager_rdma_remote.base.lval +
|
(uintptr_t)endpoint->eager_rdma_remote.base.pval +
|
||||||
endpoint->eager_rdma_remote.head *
|
endpoint->eager_rdma_remote.head *
|
||||||
openib_btl->eager_rdma_frag_size +
|
openib_btl->eager_rdma_frag_size +
|
||||||
sizeof(mca_btl_openib_frag_t) +
|
sizeof(mca_btl_openib_frag_t) +
|
||||||
|
@ -63,7 +63,7 @@ typedef struct mca_btl_openib_control_header_t mca_btl_openib_control_header_t;
|
|||||||
struct mca_btl_openib_eager_rdma_header_t {
|
struct mca_btl_openib_eager_rdma_header_t {
|
||||||
mca_btl_openib_control_header_t control;
|
mca_btl_openib_control_header_t control;
|
||||||
ompi_ptr_t rdma_start;
|
ompi_ptr_t rdma_start;
|
||||||
uint64_t rkey;
|
uint32_t rkey;
|
||||||
};
|
};
|
||||||
typedef struct mca_btl_openib_eager_rdma_header_t mca_btl_openib_eager_rdma_header_t;
|
typedef struct mca_btl_openib_eager_rdma_header_t mca_btl_openib_eager_rdma_header_t;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user