1
1

spml/yoda: fix support for BTLs that do not register memory in mca_spml_yoda_get()

Refs open-mpi/ompi#2499

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Этот коммит содержится в:
Gilles Gouaillardet
2016-12-08 15:56:25 +09:00
родитель 59f40e7cc5
Коммит 062ed9c919

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

@ -1166,6 +1166,9 @@ int mca_spml_yoda_get(void* src_addr, size_t size, void* dst_addr, int src)
}
frag->local_handle = local_handle;
} else if (NULL == l_mkey) {
local_handle = NULL;
frag->local_handle = NULL;
} else {
local_handle = ((mca_spml_yoda_context_t*)l_mkey->spml_context)->registration;
frag->local_handle = NULL;