OpenCLTemplate.CLCalc Class Reference

OpenCL calculations class. More...

List of all members.

Classes

class  CLPrograms
 OpenCL programs. More...
class  Program
 Program related stuff. More...

Public Types

enum  CLAccelerationType {
  Unknown, UsingCL, NotUsingCL, Unknown,
  UsingCL, NotUsingCL
}
 

OpenCL accelerations.

More...
enum  CLAccelerationType {
  Unknown, UsingCL, NotUsingCL, Unknown,
  UsingCL, NotUsingCL
}
 

OpenCL accelerations.

More...

Static Public Member Functions

static void DisableCL ()
 Sets CLCalc status to NotUsingCL.
static void InitCL ()
 Initializes OpenCL and reads devices.
static void InitCL (ComputeDeviceTypes DevicesToUse)
 Initializes OpenCL and reads devices.
static void InitCL (ComputeDeviceTypes DevicesToUse, ComputeContext PrevCtx, ComputeCommandQueue PrevCQ)
 Initializes OpenCL and reads devices. Uses previously created context and command queue if supplied. In that case DevicesToUse is ignored.
static void DisableCL ()
 Sets CLCalc status to NotUsingCL.
static void InitCL ()
 Initializes OpenCL and reads devices.
static void InitCL (ComputeDeviceTypes DevicesToUse)
 Initializes OpenCL and reads devices.
static void InitCL (ComputeDeviceTypes DevicesToUse, ComputeContext PrevCtx, ComputeCommandQueue PrevCQ)
 Initializes OpenCL and reads devices. Uses previously created context and command queue if supplied. In that case DevicesToUse is ignored.

Static Public Attributes

static List< ComputePlatform > CLPlatforms
 List of available platforms.
static List< ComputeDevice > CLDevices
 List of available devices.

Properties

static string EnableDblSupport [get]
 Gets string to include to enable Double Precision calculations.
static CLAccelerationType CLAcceleration [get]
 Gets acceleration type being used.
static string CLInitError [get]
 Gets initialization error description.

Detailed Description

OpenCL calculations class.


Member Enumeration Documentation

OpenCL accelerations.

Enumerator:
Unknown 

Has not tested what type of acceleration is going to be used.

UsingCL 

OpenCL used to accelerate calculations.

NotUsingCL 

No OpenCL used/supported.

Unknown 

Has not tested what type of acceleration is going to be used.

UsingCL 

OpenCL used to accelerate calculations.

NotUsingCL 

No OpenCL used/supported.

OpenCL accelerations.

Enumerator:
Unknown 

Has not tested what type of acceleration is going to be used.

UsingCL 

OpenCL used to accelerate calculations.

NotUsingCL 

No OpenCL used/supported.

Unknown 

Has not tested what type of acceleration is going to be used.

UsingCL 

OpenCL used to accelerate calculations.

NotUsingCL 

No OpenCL used/supported.


Member Function Documentation

static void OpenCLTemplate.CLCalc.DisableCL (  )  [static]

Sets CLCalc status to NotUsingCL.

static void OpenCLTemplate.CLCalc.DisableCL (  )  [static]

Sets CLCalc status to NotUsingCL.

static void OpenCLTemplate.CLCalc.InitCL ( ComputeDeviceTypes  DevicesToUse,
ComputeContext  PrevCtx,
ComputeCommandQueue  PrevCQ 
) [static]

Initializes OpenCL and reads devices. Uses previously created context and command queue if supplied. In that case DevicesToUse is ignored.

static void OpenCLTemplate.CLCalc.InitCL ( ComputeDeviceTypes  DevicesToUse  )  [static]

Initializes OpenCL and reads devices.

static void OpenCLTemplate.CLCalc.InitCL (  )  [static]

Initializes OpenCL and reads devices.

static void OpenCLTemplate.CLCalc.InitCL ( ComputeDeviceTypes  DevicesToUse,
ComputeContext  PrevCtx,
ComputeCommandQueue  PrevCQ 
) [static]

Initializes OpenCL and reads devices. Uses previously created context and command queue if supplied. In that case DevicesToUse is ignored.

static void OpenCLTemplate.CLCalc.InitCL ( ComputeDeviceTypes  DevicesToUse  )  [static]

Initializes OpenCL and reads devices.

static void OpenCLTemplate.CLCalc.InitCL (  )  [static]

Initializes OpenCL and reads devices.


Member Data Documentation

static List< ComputeDevice > OpenCLTemplate.CLCalc::CLDevices [static]

List of available devices.

static List< ComputePlatform > OpenCLTemplate.CLCalc::CLPlatforms [static]

List of available platforms.


Property Documentation

static CLAccelerationType OpenCLTemplate.CLCalc::CLAcceleration [static, get]

Gets acceleration type being used.

static string OpenCLTemplate.CLCalc::CLInitError [static, get]

Gets initialization error description.

static string OpenCLTemplate.CLCalc::EnableDblSupport [static, get]

Gets string to include to enable Double Precision calculations.

Generated on Sun Dec 4 17:27:02 2011 for OpenCLTemplate by  doxygen 1.6.3