Skip to content

Commit 6c95223

Browse files
committed
rcache/grdma: fix typo in cuda code
Fixes open-mpi/ompi#1702 Signed-off-by: Nathan Hjelm <[email protected]> (back-port of open-mpi/ompi@af52dad) Signed-off-by: Nathan Hjelm <[email protected]>
1 parent e577259 commit 6c95223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/mpool/grdma/mpool_grdma_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ static int check_for_cuda_freed_memory(mca_mpool_base_module_t *mpool, void *add
523523
/* This memory has been freed. Find all registrations and delete. Ensure they are deregistered
524524
* now by passing dereg_mem as the delete function. This is safe because the rcache lock is
525525
* recursive and this is only called from register. */
526-
return mpool->rcache->rcache_iterate (mpool->rcache, base, size, gc_add, NULL);
526+
return mpool->rcache->rcache_iterate (mpool->rcache, addr, size, gc_add, NULL);
527527
}
528528
#endif /* OPAL_CUDA_GDR_SUPPORT */
529529

0 commit comments

Comments
 (0)