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

Type Topic Plugin Version macOS Windows Linux iOS Targets
class OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
This item is deprecated and should no longer be used.
The class for an OpenCL Device.

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:

Some examples using this class:


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


CLContextMBS   -   CLEventMBS


💬 Ask a question or report a problem