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