19 #ifndef itkGPUDataManager_h 20 #define itkGPUDataManager_h 122 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
SimpleFastMutexLock m_Mutex
void * GetCPUBufferPointer()
Critical section locking class that can be allocated on the stack.
virtual void Graft(const GPUDataManager *data)
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 ...
void operator=(const Self &)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual void UpdateCPUBuffer()
virtual void PrintSelf(std::ostream &os, Indent indent) const override
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)