19 #ifndef itkGPUDataManager_h
20 #define itkGPUDataManager_h
void * GetCPUBufferPointer()
virtual void Graft(const GPUDataManager *data)
~GPUDataManager() override
Light weight base class for most itk classes.
std::lock_guard< std::mutex > MutexHolderType
virtual void UpdateGPUBuffer()
void SetBufferFlag(cl_mem_flags flags)
virtual void UpdateCPUBuffer()
GPU memory manager implemented using OpenCL. Required by GPUImage class.
void SetCPUDirtyFlag(bool isDirty)
int GetCurrentCommandQueueID()
void SetCurrentCommandQueue(int queueid)
GPU kernel manager implemented using OpenCL.
unsigned int m_BufferSize
GPUContextManager * m_ContextManager
Singleton class to store the GPU context.
void PrintSelf(std::ostream &os, Indent indent) const override
void SetCPUBufferPointer(void *ptr)
Control indentation during Print() invocation.
cl_mem * GetGPUBufferPointer()
Base class for most ITK classes.
virtual void Initialize()
void SetBufferSize(unsigned int num)
unsigned int GetBufferSize()
void SetGPUDirtyFlag(bool isDirty)