TOpenCLPlatformList::LoadProgramsForDevices Method

void LoadProgramsForDevices(bool CPUSingle, bool CPUDouble, bool GPUSingle, bool GPUDouble, bool Rebuild = false);

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

#NameTypeDescription
1CPUSinglebool
2CPUDoublebool
3GPUSinglebool
4GPUDoublebool
5Rebuild = falsebool
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.

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