TOpenCLDevice::Programs Property

__declspec(property(get = GetPrograms)) TOpenCLProgramList*Programs;

The program list holds the list of compiled Open CL programs.

Read: TOpenCLProgramList *GetPrograms();
Remarks:

To add a new program call the TOpenCLProgramList::Add method. Then load the desired program using the TOpenCLProgram::LoadProgram. The programs loaded will be compiled on the first load and have binaries stored for subsequent faster loads. Programs can be loaded from resource, from text files or directly from a list of strings. All kernels (Open CL functions) contained in the loaded programs will be automatically added to the list of TOpenCLDevice::Kernels.

Declared in Dew::Math::TOpenCLDevice · Dew.Math/clMtxVec.h · Cross-compiler