From 0492ab13779e5f063f2f378d6b5c2d547e3a8215 Mon Sep 17 00:00:00 2001 From: boufaras Date: Mon, 29 Nov 2010 15:03:09 +0000 Subject: [PATCH] add & mofif comment git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2012 331e1502-861f-0410-8da2-ba01fb791d7f --- ParadisEO-GPU/src/memory/moCudaDesallocator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ParadisEO-GPU/src/memory/moCudaDesallocator.h b/ParadisEO-GPU/src/memory/moCudaDesallocator.h index e6b932200..49eded4a7 100644 --- a/ParadisEO-GPU/src/memory/moCudaDesallocator.h +++ b/ParadisEO-GPU/src/memory/moCudaDesallocator.h @@ -56,10 +56,10 @@ public: /** *Desallocate data on GPU global memory - *@param _data the data to allocate on GPU global memory + *@param _data the data to desallocate from GPU global memory */ - void operator()(T* _data) { + void operator()(T* & _data) { //Desallocate data from GPU global memory CUDA_SAFE_CALL(cudaFree(_data));