Convert all #ifdef OMPI_ENABLE_DEBUG to #if.
This commit was SVN r15117.
Этот коммит содержится в:
родитель
10a017d1bf
Коммит
643037907f
@ -27,7 +27,7 @@ struct mca_btl_mvapi_eager_rdma_local_t {
|
||||
uint16_t head; /**< RDMA buffer to poll */
|
||||
uint16_t tail; /**< Needed for credit managment */
|
||||
int32_t credits; /**< number of RDMA credits */
|
||||
#ifdef OMPI_ENABLE_DEBUG
|
||||
#if OMPI_ENABLE_DEBUG
|
||||
uint32_t seq;
|
||||
#endif
|
||||
opal_mutex_t lock; /**< guard access to RDMA buffer */
|
||||
@ -39,7 +39,7 @@ struct mca_btl_mvapi_eager_rdma_remote_t {
|
||||
uint64_t rkey; /**< RKey for accessing remote buffer */
|
||||
uint16_t head; /**< RDMA buffer to post to */
|
||||
int32_t tokens; /**< number of rdam tokens */
|
||||
#ifdef OMPI_ENABLE_DEBUG
|
||||
#if OMPI_ENABLE_DEBUG
|
||||
uint32_t seq;
|
||||
#endif
|
||||
};
|
||||
|
@ -160,7 +160,7 @@ static inline int mca_btl_mvapi_endpoint_post_send(
|
||||
frag->desc.sr_desc.opcode = VAPI_RDMA_WRITE;
|
||||
MCA_BTL_MVAPI_RDMA_FRAG_SET_SIZE(ftr, frag->sg_entry.len);
|
||||
MCA_BTL_MVAPI_RDMA_MAKE_LOCAL(ftr);
|
||||
#ifdef OMPI_ENABLE_DEBUG
|
||||
#if OMPI_ENABLE_DEBUG
|
||||
ftr->seq = endpoint->eager_rdma_remote.seq++;
|
||||
#endif
|
||||
frag->desc.sr_desc.r_key = (VAPI_rkey_t)endpoint->eager_rdma_remote.rkey;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user