TOpenCLPlatformList.LoadProgramsForDevices Method

procedure LoadProgramsForDevices(CPUSingle: Boolean; CPUDouble: Boolean; GPUSingle: Boolean; GPUDouble: Boolean; Rebuild: Boolean);

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

#NameTypeDescription
1CPUSingleBoolean
2CPUDoubleBoolean
3GPUSingleBoolean
4GPUDoubleBoolean
5RebuildBoolean

Result: stored in self (calling object)

Remarks:

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.