CLDeviceMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
CLDeviceMBS class Deprecated
This item is deprecated and should no longer be used.
The class for an OpenCL Device.
- 2 properties
- 49 methods
- 20 constants
Constants
Constant |
Value |
Description |
kFPDenorm
|
1 |
One of the floating point capabilities constants.
denorms are supported
|
kFPFMA
|
32 |
One of the floating point capabilities constants.
IEEE754-2008 fused multiply-add is supported
|
kFPInfNAN
|
2 |
One of the floating point capabilities constants.
INF and quiet NaNs are supported
|
kFPRoundToInf
|
16 |
One of the floating point capabilities constants.
Round to +ve and -ve infinity rounding modes supported
|
kFPRoundToNearest
|
4 |
One of the floating point capabilities constants.
Round to nearest even rounding mode supported
|
kFPRoundToZero
|
8 |
One of the floating point capabilities constants.
Round to zero rounding mode supported
|
Cache memory type constants.
Constant |
Value |
Description |
kCacheMemTypeNone
|
0 |
|
kCacheMemTypeReadOnlyCache
|
1 |
Read Only Cache.
|
kCacheMemTypeReadWriteCache
|
2 |
Read/Write Cache.
|
Device Type Constants
Constant |
Value |
Description |
kDeviceTypeAccelerator
|
8 |
Accelerator = some special acceleration device
|
kDeviceTypeAll
|
&Hffffffff |
This is the bitmask to catch all possible types.
|
kDeviceTypeCPU
|
2 |
CPU = your processor
|
kDeviceTypeDefault
|
1 |
Default device.
|
kDeviceTypeGPU
|
4 |
GPU = your graphics card
|
Execution Capabilities Constants
Constant |
Value |
Description |
kExceNativeKernel
|
2 |
The OpenCL device can execute native kernels.
|
kExecKernel
|
1 |
The OpenCL device can execute OpenCL kernels.
|
Memory Type Constants
Constant |
Value |
Description |
kMemTypeGlobal
|
2 |
Dedicated local memory storage such as SRAM.
|
kMemTypeLocal
|
1 |
|
Queue properties constants.
Constant |
Value |
Description |
kQueueOutOfOrderExecModeEnable
|
1 |
Out of order execution mode enabled.
|
kQueueProfilingEnable
|
2 |
Profiling enabled.
|
This class has no sub classes.
Some methods using this class:
- CLCommandQueueMBS.Constructor(context as CLContextMBS, device as CLDeviceMBS, flags as Integer = 0)
- CLContextMBS.Constructor(Devices() as CLDeviceMBS, ErrorHandlerMode as Integer = 0)
- CLContextMBS.Constructor(Platform as CLPlatformMBS, Device as CLDeviceMBS, ErrorHandlerMode as Integer = 0)
- CLKernelMBS.GetKernelCompileWorkGroupSize(device as CLDeviceMBS, byref X as Int64, byref Y as Int64, byref Z as Int64)
- CLKernelMBS.GetKernelLocalMemorySize(device as CLDeviceMBS = nil) as UInt64
- CLPlatformMBS.Devices(types as Int64) as CLDeviceMBS()
- CLProgramMBS.BuildOptions(device as CLDeviceMBS) as string
- CLProgramMBS.BuildProgram(device as CLDeviceMBS, options as string = "")
- CLProgramMBS.BuildProgram(devices() as CLDeviceMBS, options as string = "")
- OpenCLMBS.AllDevices(types as Int64) as CLDeviceMBS()
Some examples using this class:
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
CLContextMBS
-
CLEventMBS