Platforms to show: All Mac Windows Linux Cross-Platform
The module OpenCLMBS Deprecated
module OpenCLMBSType | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
module | OpenCL | MBS MacFrameworks Plugin | 11.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This item is deprecated and should no longer be used.
The module for OpenCL.
from wikipedia:
OpenCL (Open Computing Language) is a framework for writing programs that execute across heterogeneous platforms consisting of CPUs, GPUs, and other processors. OpenCL includes a language (based on C99) for writing kernels (functions that execute on OpenCL devices), plus APIs that are used to define and then control the platforms. OpenCL provides parallel computing using task-based and data-based parallelism.
- method AllDeviceCount(types as Int64) as Integer
- method AllDevices(types as Int64) as CLDeviceMBS()
- method GetExtensionFunctionAddress(name as string) as ptr
- method GetPictureImageFormat(pic as picture, byref RowPitch as Integer) as CLImageFormatMBS
- method isAvailable as boolean
- method PlatformCount as Int64
- method Platforms as CLPlatformMBS()
- method UnloadCompiler
- method WaitForEvents(events() as CLEventMBS)
- property LastError as Integer
- property LastErrorMessage as string
- 46 constants
Constants
Constant | Value | Description |
---|---|---|
kBuildProgramFailure | -11 | One of the constants for OpenCL errors. |
kCompilerNotAvailable | -3 | One of the constants for OpenCL errors. |
kDeviceNotAvailable | -2 | One of the constants for OpenCL errors. |
kDeviceNotFound | -1 | One of the constants for OpenCL errors. |
kImageFormatMismatch | -9 | One of the constants for OpenCL errors. |
kImageFormatNotSupported | -10 | One of the constants for OpenCL errors. |
kInvalidArgIndex | -49 | One of the constants for OpenCL errors. |
kInvalidArgSize | -51 | One of the constants for OpenCL errors. |
kInvalidArgValue | -50 | One of the constants for OpenCL errors. |
kInvalidBinary | -42 | One of the constants for OpenCL errors. |
kInvalidBufferSize | -61 | One of the constants for OpenCL errors. |
kInvalidBuildOptions | -43 | One of the constants for OpenCL errors. |
kInvalidCommandQueue | -36 | One of the constants for OpenCL errors. |
kInvalidContext | -34 | One of the constants for OpenCL errors. |
kInvalidDevice | -33 | One of the constants for OpenCL errors. |
kInvalidDeviceType | -31 | One of the constants for OpenCL errors. |
kInvalidEvent | -58 | One of the constants for OpenCL errors. |
kInvalidEventWaitList | -57 | One of the constants for OpenCL errors. |
kInvalidGlobalOffset | -56 | One of the constants for OpenCL errors. |
kInvalidGlObject | -60 | One of the constants for OpenCL errors. |
kInvalidHostPtr | -37 | One of the constants for OpenCL errors. |
kInvalidImageFormatDescriptor | -39 | One of the constants for OpenCL errors. |
kInvalidImageSize | -40 | One of the constants for OpenCL errors. |
kInvalidKernel | -48 | One of the constants for OpenCL errors. |
kInvalidKernelArgs | -52 | One of the constants for OpenCL errors. |
kInvalidKernelDefinition | -47 | One of the constants for OpenCL errors. |
kInvalidKernelName | -46 | One of the constants for OpenCL errors. |
kInvalidMemObject | -38 | One of the constants for OpenCL errors. |
kInvalidMipLevel | -62 | One of the constants for OpenCL errors. |
kInvalidOperation | -59 | One of the constants for OpenCL errors. |
kInvalidPlatform | -32 | One of the constants for OpenCL errors. |
kInvalidProgram | -44 | One of the constants for OpenCL errors. |
kInvalidProgramExecutable | -45 | One of the constants for OpenCL errors. |
kInvalidQueueProperties | -35 | One of the constants for OpenCL errors. |
kInvalidSampler | -41 | One of the constants for OpenCL errors. |
kInvalidValue | -30 | One of the constants for OpenCL errors. |
kInvalidWorkDimension | -53 | One of the constants for OpenCL errors. |
kInvalidWorkGroupSize | -54 | One of the constants for OpenCL errors. |
kInvalidWorkItemSize | -55 | One of the constants for OpenCL errors. |
kMapFailure | -12 | One of the constants for OpenCL errors. |
kMemCopyOverlap | -8 | One of the constants for OpenCL errors. |
kMemObjectAllocationFailure | -4 | One of the constants for OpenCL errors. |
kOutOfHostMemory | -6 | One of the constants for OpenCL errors. |
kOutOfResources | -5 | One of the constants for OpenCL errors. |
kProfilingInfoNotAvailable | -7 | One of the constants for OpenCL errors. |
kSuccess | 0 | One of the constants for OpenCL errors. |
Some examples which use this module:
- /MacFrameworks/OpenCL/OpenCL
- /MacFrameworks/OpenCL/OpenCL HelloWorld
- /MacFrameworks/OpenCL/OpenCL Helper 18/OpenCL Helper 18
- /MacFrameworks/OpenCL/OpenCL Picture Method Tests
Blog Entries
- MBS Xojo Plugins, version 22.5pr7
- Nearly 2000 new Functions in the 9.6 prerelease of MBS
- MBS REALbasic plug-in 9.6
Xojo Developer Magazine
Release notes
- Version 22.5
- Deprecated OpenCLMBS module and related classes.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.