mirror of
https://github.com/boostorg/compute.git
synced 2026-01-24 05:42:14 +00:00
This refactors the system::default_device() method. Now, the default compute device for the system is only found once and stored in a static variable. This eliminates many redundant calls to clGetPlatformIDs() and clGetDeviceIDs(). Also, the default_cpu_device() and default_gpu_device() methods have been removed and their usages replaced with default_device().
2.5 KiB
2.5 KiB