19 #ifndef __itkGPUDataManager_h
20 #define __itkGPUDataManager_h
SimpleFastMutexLock m_Mutex
void * GetCPUBufferPointer()
Critical section locking class that can be allocated on the stack.
virtual void Graft(const GPUDataManager *data)
Light weight base class for most itk classes.
MutexLockHolder< SimpleFastMutexLock > MutexHolderType
virtual void UpdateGPUBuffer()
void SetBufferFlag(cl_mem_flags flags)
A container to store a Mutex.
void operator=(const Self &)
virtual void UpdateCPUBuffer()
GPU memory manager implemented using OpenCL. Required by GPUImage class.
void SetCPUDirtyFlag(bool isDirty)
virtual void PrintSelf(std::ostream &os, Indent indent) const
SmartPointer< const Self > ConstPointer
int GetCurrentCommandQueueID()
void SetCurrentCommandQueue(int queueid)
GPU kernel manager implemented using OpenCL.
unsigned int m_BufferSize
GPUContextManager * m_ContextManager
SmartPointer< Self > Pointer
Singleton class to store the GPU context.
void SetCPUBufferPointer(void *ptr)
Control indentation during Print() invocation.
cl_mem * GetGPUBufferPointer()
Base class for most ITK classes.
virtual void Initialize()
virtual ~GPUDataManager()
void SetBufferSize(unsigned int num)
unsigned int GetBufferSize()
void SetGPUDirtyFlag(bool isDirty)