diff --git a/oshmem/mca/spml/yoda/spml_yoda.c b/oshmem/mca/spml/yoda/spml_yoda.c index 939d5c7d5e..8306e4b64d 100644 --- a/oshmem/mca/spml/yoda/spml_yoda.c +++ b/oshmem/mca/spml/yoda/spml_yoda.c @@ -57,7 +57,7 @@ mca_spml_yoda_module_t mca_spml_yoda = { mca_spml_yoda_put, mca_spml_yoda_put_nb, mca_spml_yoda_get, - mca_spml_base_get_nb, /* todo: mca_spml_yoda_get_nb, */ + mca_spml_yoda_get_nb, mca_spml_yoda_recv, mca_spml_yoda_send, mca_spml_base_wait, @@ -901,6 +901,8 @@ int mca_spml_yoda_put_nb(void* dst_addr, { UNREFERENCED_PARAMETER(handle); + /* TODO: real nonblocking operation is needed + */ return mca_spml_yoda_put_internal(dst_addr, size, src_addr, dst, 1); } @@ -974,6 +976,17 @@ int mca_spml_yoda_enable(bool enable) return OSHMEM_SUCCESS; } +int mca_spml_yoda_get_nb(void* src_addr, + size_t size, + void* dst_addr, + int src, + void **handle) +{ + /* TODO: real nonblocking operation is needed + */ + return mca_spml_yoda_get(src_addr, size, dst_addr, src); +} + /** * shmem_get reads data from a remote address * in the symmetric heap via RDMA READ. diff --git a/oshmem/mca/spml/yoda/spml_yoda.h b/oshmem/mca/spml/yoda/spml_yoda.h index c0a04e5e4c..62d7b56a46 100644 --- a/oshmem/mca/spml/yoda/spml_yoda.h +++ b/oshmem/mca/spml/yoda/spml_yoda.h @@ -102,6 +102,11 @@ extern int mca_spml_yoda_get(void* dst_addr, size_t size, void* src_addr, int src); +extern int mca_spml_yoda_get_nb(void* dst_addr, + size_t size, + void* src_addr, + int dst, + void **handle); extern int mca_spml_yoda_put(void* dst_addr, size_t size, void* src_addr,