Platforms to show: All Mac Windows Linux Cross-Platform
CLProgramMBS 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 program.- 2 properties
- 17 methods
- method Binaries as String()
- method BinarySizes as UInt64()
- method BuildLog(device as CLDeviceMBS) as string
- method BuildOptions(device as CLDeviceMBS) as string
- method BuildProgram(device as CLDeviceMBS, options as string = "")
- method BuildProgram(devices() as CLDeviceMBS, options as string = "")
- method BuildProgram(options as string = "")
- method BuildStatus(device as CLDeviceMBS) as Int64
- method Constructor(context as CLContextMBS, devices() as CLDeviceMBS, binaries() as string, status() as Integer)
- method Constructor(context as CLContextMBS, line as string)
- method Constructor(context as CLContextMBS, lines() as string)
- method Context as CLContextMBS
- method CreateKernelsInProgram(maxKernels as Integer = 100) as CLKernelMBS()
- method Devices as CLDeviceMBS()
- method NumDevices as UInt32
- method ReferenceCount as UInt32
- method Source as string
- 4 constants
Build Status constants
Constant | Value | Description |
---|---|---|
kBuildError | -2 |
The build status returned if the last call to BuildProgram on the specified program object for device generated an error. |
kBuildInProgress | -3 |
The build status returned if the last call to BuildProgram on the specified program object for device has not finished. |
kBuildNone | -1 |
The build status returned if no build has been performed on the specified program object for device. |
kBuildSuccess | 0 |
The build status returned if the last call to BuildProgram on the specified program object for device was successful. |
This class has no sub classes.
Some methods using this class:
- CLKernelMBS.Constructor(Program as CLProgramMBS, KernelName as string)
Some properties using for this class:
- CLKernelMBS.Program as CLProgramMBS
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.