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