git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2007 331e1502-861f-0410-8da2-ba01fb791d7f

This commit is contained in:
boufaras 2010-11-25 15:08:19 +00:00
commit ae05311c33

View file

@ -63,7 +63,7 @@ public:
void operator()(T* & _data, unsigned _dataSize) {
//Allocate data in GPU memory
CUDA_SAFE_CALL(cudaMalloc((void**) & _data, _dataSize * sizeof(T)));
CUDA_SAFE_CALL(cudaMalloc((void**) &_data, _dataSize * sizeof(T)));
// Check if data allocation was failed
CUT_CHECK_ERROR("Allocation of data on GPU global memory failed");