Skip to content

Commit

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

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>

(back-port of open-mpi/ompi@af52dad)

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
  • Loading branch information
hjelmn committed May 26, 2016
1 parent e577259 commit 6c95223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal/mca/mpool/grdma/mpool_grdma_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ static int check_for_cuda_freed_memory(mca_mpool_base_module_t *mpool, void *add
/* 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 rcache lock is
* recursive and this is only called from register. */
return mpool->rcache->rcache_iterate (mpool->rcache, base, size, gc_add, NULL);
return mpool->rcache->rcache_iterate (mpool->rcache, addr, size, gc_add, NULL);
}
#endif /* OPAL_CUDA_GDR_SUPPORT */

Expand Down

0 comments on commit 6c95223

Please sign in to comment.