Skip to content

Commit 804a784

Browse files
Merge pull request #2544 from ggouaillardet/topic/mca_spml_yoda_get
spml/yoda: fix support for BTLs that do not register memory in mca_sp…
2 parents 341ab68 + 062ed9c commit 804a784

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

oshmem/mca/spml/yoda/spml_yoda.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,9 @@ int mca_spml_yoda_get(void* src_addr, size_t size, void* dst_addr, int src)
11661166
}
11671167

11681168
frag->local_handle = local_handle;
1169+
} else if (NULL == l_mkey) {
1170+
local_handle = NULL;
1171+
frag->local_handle = NULL;
11691172
} else {
11701173
local_handle = ((mca_spml_yoda_context_t*)l_mkey->spml_context)->registration;
11711174
frag->local_handle = NULL;

0 commit comments

Comments
 (0)