public class TOpenCLPlatformList
Holds the list of all available platforms on the computer.
Each platform requires a driver. When using graphics cards, Open CL driver is installed together with the cards driver. Open CL drivers for Intel CPU's and AMD CPU's need to be downloaded separately.
Properties
| Name | Type | Description |
|---|---|---|
| Count | Int32 | Returns the number of platforms available on the computer. |
| IgnoreIntel | Boolean | Set this property to true to avoid loading Intel Open CL code. |
| Item | TOpenCLPlatform | Array property gives access to individual platforms available on the computer. |
Methods
| Name | Description |
|---|---|
| AutoDeviceSelect | The function will measure time of running LoadFunction on all devices and will return the fastest device. |
| ClearPrecompiledBinaries | Delete all and precompiled binaries. |
| GetFirstGPUDevice | Returns the first found GPU device starting at first platform. |
| LoadProgramsForDevices | Loads kernels for all devices in both single and double precision. |
| SaveDefaultToRC | Recreates the resource files from the default Open CL sources shipped with the product. |
| SaveDefaultToRes | Recreates the resource files from the default Open CL sources shipped with the product. |
| SaveSourceCodeToRC | Store a source code to the resource file and use ResName for identification. |
| SaveSourceCodeToRes | Store a source code to the resource file and use ResID for identification. |
| SaveSourceFileToRC | Store a list of source files to the resource file and use ResName for identification. |
| SaveSourceFileToRes | Store a list of source files to the resource file and use ResID for identification. |
| UnLoadCompiler | Unloads the compiler(s), if this is supported by the driver(s). |
| UnMarkThreads | All queues on all platforms and devices will be disassociated with any previosuly used threads. |