From 288484e1fe36fd8507cf7ca4ee16c277a4ee93a1 Mon Sep 17 00:00:00 2001 From: Matt Koop Date: Wed, 23 Jul 2025 17:55:07 -0500 Subject: [PATCH] fix: Set accelerator rcache flag for mtl/ofi Signed-off-by: Matt Koop (cherry picked from commit 0c48548dced54bc0ed864e046f96c5295a6c2d36) --- ompi/mca/mtl/ofi/mtl_ofi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ompi/mca/mtl/ofi/mtl_ofi.h b/ompi/mca/mtl/ofi/mtl_ofi.h index e0cf219f152..91507e8fb05 100644 --- a/ompi/mca/mtl/ofi/mtl_ofi.h +++ b/ompi/mca/mtl/ofi/mtl_ofi.h @@ -310,6 +310,7 @@ int ompi_mtl_ofi_register_buffer(struct opal_convertor_t *convertor, * understand send/recv requirements. Since this rcache is only used in the * MTL, that isn't a problem and we fix it in the underlying register call. */ + cache_flags |= MCA_RCACHE_FLAGS_ACCELERATOR_MEM; ret = ompi_mtl_ofi.rcache->rcache_register(ompi_mtl_ofi.rcache, buffer, ofi_req->length, cache_flags, MCA_RCACHE_ACCESS_ANY, (mca_rcache_base_registration_t **) &ofi_req->mr);