TOpenCLDevice.Programs Property

TOpenCLProgramList Programs { get; set; }

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

Returns: TOpenCLProgramList

Remarks:

To add a new program call the Dew.Math.TOpenCLProgramList.Add method. Then load the desired program using the Dew.Math.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 Dew.Math.TOpenCLDevice.Kernels.