You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLDevice Class > public > TOpenCLDevice.Programs Property
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLDevice.Programs Property

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

Pascal
property Programs: TOpenCLProgramList;

To add a new program call the TOpenCLProgramList.AddAddmethod. 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 Kernels.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!