Skip to content

Commit 0c48548

Browse files
committed
fix: Set accelerator rcache flag for mtl/ofi
Signed-off-by: Matt Koop <[email protected]>
1 parent 6a2c60a commit 0c48548

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)