From af52dad8f860f4110db40415f2a683c3234f010f Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Tue, 24 May 2016 15:55:26 -0600 Subject: [PATCH] rcache/grdma: fix typo in cuda code Fixes open-mpi/ompi#1702 Signed-off-by: Nathan Hjelm --- opal/mca/rcache/grdma/rcache_grdma_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/rcache/grdma/rcache_grdma_module.c b/opal/mca/rcache/grdma/rcache_grdma_module.c index 20275adbe14..c6461a24f71 100644 --- a/opal/mca/rcache/grdma/rcache_grdma_module.c +++ b/opal/mca/rcache/grdma/rcache_grdma_module.c @@ -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 */