1
1

Also add flag to debug output.

This commit was SVN r29163.
Этот коммит содержится в:
Rolf vandeVaart 2013-09-13 19:47:05 +00:00
родитель c15b2a26b8
Коммит 096b8c022e

Просмотреть файл

@ -599,8 +599,8 @@ static int openib_reg_mr(void *reg_data, void *base, size_t size,
}
OPAL_OUTPUT_VERBOSE((30, mca_btl_openib_component.memory_registration_verbose,
"openib_reg_mr: base=%p, bound=%p, size=%d", reg->base, reg->bound,
(int) (reg->bound - reg->base + 1)));
"openib_reg_mr: base=%p, bound=%p, size=%d, flags=0x%x", reg->base, reg->bound,
(int) (reg->bound - reg->base + 1), reg->flags));
#if OMPI_CUDA_SUPPORT
if (reg->flags & MCA_MPOOL_FLAGS_CUDA_REGISTER_MEM) {
@ -618,8 +618,8 @@ static int openib_dereg_mr(void *reg_data, mca_mpool_base_registration_t *reg)
mca_btl_openib_reg_t *openib_reg = (mca_btl_openib_reg_t*)reg;
OPAL_OUTPUT_VERBOSE((30, mca_btl_openib_component.memory_registration_verbose,
"openib_dereg_mr: base=%p, bound=%p, size=%d", reg->base, reg->bound,
(int) (reg->bound - reg->base + 1)));
"openib_dereg_mr: base=%p, bound=%p, size=%d, flags=0x%x", reg->base, reg->bound,
(int) (reg->bound - reg->base + 1), reg->flags));
if(openib_reg->mr != NULL) {
if(ibv_dereg_mr(openib_reg->mr)) {