add & mofif comment

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2012 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
boufaras 2010-11-29 15:03:09 +00:00
commit 0492ab1377

View file

@ -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));