Skip to content

Commit 5f05e06

Browse files
committed
fix: Set accelerator rcache flag for btl/ofi
Signed-off-by: Sai Sunku <[email protected]>
1 parent a734508 commit 5f05e06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opal/mca/btl/ofi/btl_ofi_module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ mca_btl_ofi_register_mem(struct mca_btl_base_module_t *btl,
213213
int rc;
214214
uint32_t cache_flags = 0;
215215

216+
cache_flags |= MCA_RCACHE_FLAGS_ACCELERATOR_MEM;
216217
rc = ofi_module->rcache->rcache_register(ofi_module->rcache, base, size, cache_flags, access_flags,
217218
(mca_rcache_base_registration_t **) &reg);
218219
if (OPAL_UNLIKELY(OPAL_SUCCESS != rc)) {

0 commit comments

Comments
 (0)