Skip to content

Commit b4a183a

Browse files
authored
Merge pull request #13343 from mjkoop/ofi_rcache
fix: Set accelerator rcache flag for mtl/ofi
2 parents 3fd3539 + 0c48548 commit b4a183a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/mca/mtl/ofi/mtl_ofi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ int ompi_mtl_ofi_register_buffer(struct opal_convertor_t *convertor,
310310
* understand send/recv requirements. Since this rcache is only used in the
311311
* MTL, that isn't a problem and we fix it in the underlying register call.
312312
*/
313+
cache_flags |= MCA_RCACHE_FLAGS_ACCELERATOR_MEM;
313314
ret = ompi_mtl_ofi.rcache->rcache_register(ompi_mtl_ofi.rcache, buffer, ofi_req->length,
314315
cache_flags, MCA_RCACHE_ACCESS_ANY,
315316
(mca_rcache_base_registration_t **) &ofi_req->mr);

0 commit comments

Comments
 (0)