Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void LoadProgram(tStringList *SrcFileNames, const DewString &SourceHeader, const DewString &BuildOptions, bool RebuildAlways = false); | Loads programs stored in SrcFileNames, adds SourceHeader, sets BuildOptions and compiles. |
| 2 | void LoadProgram(const DewString &ResName, const DewString &SourceHeader, const DewString &BuildOptions, bool RebuildAlways = false); | Loads programs stored in the resource defined with ResName, adds SourceHeader, sets BuildOptions and compiles. |
| 3 | void LoadProgram(const DewString &aBinFileName, tStrings *SourceCode, const DewString &SourceHeader, const DewString &BuildOptions, bool RebuildAlways = false); | Loads programs stored in the SourceCode, adds SourceHeader, sets BuildOptions and compiles. |
Overload 1: void LoadProgram(tStringList *SrcFileNames, const DewString &SourceHeader, const DewString &BuildOptions, bool RebuildAlways = false);
Loads programs stored in SrcFileNames, adds SourceHeader, sets BuildOptions and compiles.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SrcFileNames | tStringList * | |
| 2 | SourceHeader | const DewString & | |
| 3 | BuildOptions | const DewString & | |
| 4 | RebuildAlways = false | bool |
If the program to be build is already found, the binary version is loaded directly saving valuable startup time for future runs. Set RebuildAlways to True to request unconditial recompile. When a driver change or hardware change is detected the programs will be automatically rebuild ignoring the value of RebuildAlways. All Kernels in the Open CL source code are automatically added to the TOpenCLDevice::Kernels list.
Overload 2: void LoadProgram(const DewString &ResName, const DewString &SourceHeader, const DewString &BuildOptions, bool RebuildAlways = false);
Loads programs stored in the resource defined with ResName, adds SourceHeader, sets BuildOptions and compiles.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ResName | const DewString & | |
| 2 | SourceHeader | const DewString & | |
| 3 | BuildOptions | const DewString & | |
| 4 | RebuildAlways = false | bool |
If the program to be build is already found, the binary version is loaded directly saving valuable startup time for future runs. Set RebuildAlways to True to request unconditial recompile. When a driver change or hardware change is detected the programs will be automatically rebuild ignoring the value of RebuildAlways. All Kernels in the Open CL source code are automatically added to the TOpenCLDevice::Kernels list.
Overload 3: void LoadProgram(const DewString &aBinFileName, tStrings *SourceCode, const DewString &SourceHeader, const DewString &BuildOptions, bool RebuildAlways = false);
Loads programs stored in the SourceCode, adds SourceHeader, sets BuildOptions and compiles.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aBinFileName | const DewString & | |
| 2 | SourceCode | tStrings * | |
| 3 | SourceHeader | const DewString & | |
| 4 | BuildOptions | const DewString & | |
| 5 | RebuildAlways = false | bool |
If the program to be build is already found, the binary version is loaded directly saving valuable startup time for future runs. aBinFileName identifies the name of the binary file in which the compiler will save the result. Set RebuildAlways to True to request unconditial recompile. All Kernels in the Open CL source code are automatically added to the TOpenCLDevice::Kernels list.