19 #ifndef itkGPUDataManager_h
20 #define itkGPUDataManager_h
122 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
127 void operator=(const
Self&);
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. This holder class for ensuring that locks are released in the event of ...
virtual void PrintSelf(std::ostream &os, Indent indent) const override
virtual void UpdateCPUBuffer()
GPU memory manager implemented using OpenCL. Required by GPUImage class.
void SetCPUDirtyFlag(bool isDirty)
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)