add constructor
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2231 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
416206cd81
commit
b6d86f65f9
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue