Skip to content

Commit

Permalink
rcache/grdma: fix typo in cuda code
Browse files Browse the repository at this point in the history
Fixes #1702

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
  • Loading branch information
hjelmn committed May 24, 2016
1 parent 1d31104 commit af52dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal/mca/rcache/grdma/rcache_grdma_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ static int check_for_cuda_freed_memory (mca_rcache_base_module_t *rcache, void *
/* This memory has been freed. Find all registrations and delete. Ensure they are deregistered
* now by passing dereg_mem as the delete function. This is safe because the vma lock is
* recursive and this is only called from register. */
return mca_rcache_base_vma_iterate (rcache_grdma->cache->vma_module, base, size, gc_add, NULL);
return mca_rcache_base_vma_iterate (rcache_grdma->cache->vma_module, addr, size, gc_add, NULL);
}
#endif /* OPAL_CUDA_GDR_SUPPORT */

Expand Down

0 comments on commit af52dad

Please sign in to comment.