Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CLDeviceMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class OpenCL MBS MacFrameworks Plugin 11.1 Yes No No Yes, macOS only No
Function: The class for an OpenCL Device.

Feedback, Comments & Corrections

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 which use this class:


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


CLContextMBS   -   CLEventMBS





Links
MBS Xojo Plugins