Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit d7c1bf4

Browse files
committed
Merge pull request #1200 from hjelmn/v2.x_cuda_typo
rcache/grdma: fix typo in cuda code
2 parents 855c5b0 + 6c95223 commit d7c1bf4

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)