Platforms to show: All Mac Windows Linux Cross-Platform
CLContextMBS 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 OpenCL class for a context.
Contexts are used by the OpenCL runtime for managing objects such as command-queues, memory, program and kernel objects and for executing kernels on one or more devices specified in the context.
- 2 properties
- 9 methods
- method Constructor(Device as CLDeviceMBS, ErrorHandlerMode as Integer = 0)
- method Constructor(Devices() as CLDeviceMBS, ErrorHandlerMode as Integer = 0)
- method Constructor(DeviceType as Integer, ErrorHandlerMode as Integer = 0)
- method Constructor(Platform as CLPlatformMBS, Device as CLDeviceMBS, ErrorHandlerMode as Integer = 0)
- method Constructor(Platform as CLPlatformMBS, Devices() as CLDeviceMBS, ErrorHandlerMode as Integer = 0)
- method Constructor(Platform as CLPlatformMBS, DeviceType as Integer, ErrorHandlerMode as Integer = 0)
- method Devices as CLDeviceMBS()
- method GetSupportedImageFormats(flags as UInt64, type as UInt32) as CLImageFormatMBS()
- method ReferenceCount as UInt32
- 4 constants
Error mode constants
Constant | Value | Description |
---|---|---|
kErrorModeIgnore | 0 | |
kErrorModeLogMessagesToStderr | 3 |
Sends all log messages to the file descriptor stderr. |
kErrorModeLogMessagesToStdout | 2 |
Sends all log messages to the file descriptor stdout. |
kErrorModeLogMessagesToSystemLog | 1 |
Fowards on all log messages to the Apple System Logger. |
This class has no sub classes.
Some methods using this class:
- CLCommandQueueMBS.Constructor(context as CLContextMBS, device as CLDeviceMBS, flags as Integer = 0)
- CLCommandQueueMBS.Context as CLContextMBS
- CLMemMBS.Constructor(Context as CLContextMBS, Flags as UInt64, ImageFormat as CLImageFormatMBS, Width as Integer, Height as Integer, RowPitch as Integer, HostPtr as Memoryblock = nil)
- CLMemMBS.Constructor(Context as CLContextMBS, Flags as UInt64, Size as Integer, HostPtr as Memoryblock = nil)
- CLMemMBS.Context as CLContextMBS
- CLProgramMBS.Constructor(context as CLContextMBS, devices() as CLDeviceMBS, binaries() as string, status() as Integer)
- CLProgramMBS.Constructor(context as CLContextMBS, line as string)
- CLProgramMBS.Constructor(context as CLContextMBS, lines() as string)
- CLSamplerMBS.Constructor(Context as CLContextMBS, NormalizedCoords as Boolean, AddressingMode as UInt32, FilterMode as UInt32)
- CLSamplerMBS.Context as CLContextMBS
Some properties using for this class:
- CLKernelMBS.Context as CLContextMBS
Some examples using this class:
- /MacFrameworks/OpenCL/OpenCL HelloWorld
- /MacFrameworks/OpenCL/OpenCL Helper 18/OpenCL Helper 18
- /MacFrameworks/OpenCL/OpenCL Picture Method Tests
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
CLCommandQueueMBS - CLDeviceMBS