ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
itk::GPUContextManager Class Reference

#include <itkGPUContextManager.h>

+ Inheritance diagram for itk::GPUContextManager:
+ Collaboration diagram for itk::GPUContextManager:

Detailed Description

Definition at line 38 of file itkGPUContextManager.h.

Public Member Functions

void DestroyInstance ()
cl_command_queue GetCommandQueue (int i)
cl_context GetCurrentContext ()
cl_device_id GetDeviceId (int i)
unsigned int GetNumberOfCommandQueues ()
- Public Member Functions inherited from itk::LightObject
virtual Pointer CreateAnother () const
virtual void Delete ()
virtual const char * GetNameOfClass () const
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
virtual void SetReferenceCount (int)
virtual void UnRegister () const

Static Public Member Functions

static GPUContextManagerGetInstance ()
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
static Pointer New ()

Private Member Functions

 GPUContextManager ()
 ~GPUContextManager ()

Private Attributes

cl_command_queue * m_CommandQueue
cl_context m_Context
cl_device_id * m_Devices
cl_uint m_NumberOfDevices
cl_uint m_NumberOfPlatforms
cl_platform_id m_Platform

Static Private Attributes

static GPUContextManagerm_Instance

Additional Inherited Members

- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef LightObject Self
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintSelf (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock

Constructor & Destructor Documentation

itk::GPUContextManager::GPUContextManager ( )
itk::GPUContextManager::~GPUContextManager ( )

Member Function Documentation

void itk::GPUContextManager::DestroyInstance ( )
cl_command_queue itk::GPUContextManager::GetCommandQueue ( int  i)
cl_context itk::GPUContextManager::GetCurrentContext ( )

Definition at line 52 of file itkGPUContextManager.h.

cl_device_id itk::GPUContextManager::GetDeviceId ( int  i)
static GPUContextManager* itk::GPUContextManager::GetInstance ( )
unsigned int itk::GPUContextManager::GetNumberOfCommandQueues ( )

Definition at line 48 of file itkGPUContextManager.h.

Member Data Documentation

cl_command_queue* itk::GPUContextManager::m_CommandQueue

Definition at line 66 of file itkGPUContextManager.h.

cl_context itk::GPUContextManager::m_Context

Definition at line 64 of file itkGPUContextManager.h.

cl_device_id* itk::GPUContextManager::m_Devices

Definition at line 65 of file itkGPUContextManager.h.

GPUContextManager* itk::GPUContextManager::m_Instance

Definition at line 70 of file itkGPUContextManager.h.

cl_uint itk::GPUContextManager::m_NumberOfDevices

Definition at line 68 of file itkGPUContextManager.h.

cl_uint itk::GPUContextManager::m_NumberOfPlatforms

Definition at line 68 of file itkGPUContextManager.h.

cl_platform_id itk::GPUContextManager::m_Platform

Definition at line 63 of file itkGPUContextManager.h.

The documentation for this class was generated from the following file: