Also add flag to debug output.
This commit was SVN r29163.
Этот коммит содержится в:
родитель
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,
|
OPAL_OUTPUT_VERBOSE((30, mca_btl_openib_component.memory_registration_verbose,
|
||||||
"openib_reg_mr: base=%p, bound=%p, size=%d", reg->base, reg->bound,
|
"openib_reg_mr: base=%p, bound=%p, size=%d, flags=0x%x", reg->base, reg->bound,
|
||||||
(int) (reg->bound - reg->base + 1)));
|
(int) (reg->bound - reg->base + 1), reg->flags));
|
||||||
|
|
||||||
#if OMPI_CUDA_SUPPORT
|
#if OMPI_CUDA_SUPPORT
|
||||||
if (reg->flags & MCA_MPOOL_FLAGS_CUDA_REGISTER_MEM) {
|
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;
|
mca_btl_openib_reg_t *openib_reg = (mca_btl_openib_reg_t*)reg;
|
||||||
|
|
||||||
OPAL_OUTPUT_VERBOSE((30, mca_btl_openib_component.memory_registration_verbose,
|
OPAL_OUTPUT_VERBOSE((30, mca_btl_openib_component.memory_registration_verbose,
|
||||||
"openib_dereg_mr: base=%p, bound=%p, size=%d", reg->base, reg->bound,
|
"openib_dereg_mr: base=%p, bound=%p, size=%d, flags=0x%x", reg->base, reg->bound,
|
||||||
(int) (reg->bound - reg->base + 1)));
|
(int) (reg->bound - reg->base + 1), reg->flags));
|
||||||
|
|
||||||
if(openib_reg->mr != NULL) {
|
if(openib_reg->mr != NULL) {
|
||||||
if(ibv_dereg_mr(openib_reg->mr)) {
|
if(ibv_dereg_mr(openib_reg->mr)) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user