add & mofif comment
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2012 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
8d49fc1fc1
commit
0492ab1377
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue