From 54741520189bc9e9013d8494e1eacc2d0616344e Mon Sep 17 00:00:00 2001 From: boufaras Date: Thu, 25 Nov 2010 15:07:15 +0000 Subject: [PATCH] git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2006 331e1502-861f-0410-8da2-ba01fb791d7f --- ParadisEO-GPU/src/memory/moCudaAllocator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ParadisEO-GPU/src/memory/moCudaAllocator.h b/ParadisEO-GPU/src/memory/moCudaAllocator.h index 82f6aacd4..68ea0f46b 100644 --- a/ParadisEO-GPU/src/memory/moCudaAllocator.h +++ b/ParadisEO-GPU/src/memory/moCudaAllocator.h @@ -63,9 +63,9 @@ 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 successfuly done + // Check if data allocation was failed CUT_CHECK_ERROR("Allocation of data on GPU global memory failed"); }