You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLPlatformList Class > public > TOpenCLPlatformList.LoadProgramsForDevices Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLPlatformList.LoadProgramsForDevices Method

Loads kernels for all devices in both single and double precision.

Pascal
procedure LoadProgramsForDevices(CPUSingle: boolean; CPUDouble: boolean; GPUSingle: boolean; GPUDouble: boolean; Rebuild: boolean = false);

The method will load all available kernels included with Cougar Open CL applicable to each device. Both single and double precision with CPU versions for CPU devices and GPU versions for GPU devices are supported. All kernels will be rebuilt unconditionally, if the Rebuild flag is true. Kernels will be rebuilt in either case if driver or hardware change is detected.

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