add constructor

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2231 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
boufaras 2011-05-13 08:39:35 +00:00
commit b6d86f65f9

View file

@ -35,8 +35,6 @@
#ifndef __moGPUObject_H_
#define __moGPUObject_H_
// CUDA includes
#include <cutil.h>
#include <memory/moGPUAllocator.h>
#include <memory/moGPUDesallocator.h>
#include <memory/moGPUCopy.h>
@ -49,6 +47,13 @@ class moGPUObject {
public:
/*
* Constructor
*/
moGPUObject() {
}
/**
*Allocate & Copy data from CPU memory to GPU global memory (default copy)
*@param _data the data to allocate on GPU