-
Notifications
You must be signed in to change notification settings - Fork 44
OpenCL Configuration
Most systems offer more than one way to do OpenCL calculations. A typical setup will have a GPU, but may also be able to process OpenCL kernels on the CPU or even an integrated GPU. The system default may not lead to optimal performance.
You can use the testOpenCL
utility to list all your OpenCL devices. Note the platform and device number for your preferred OpenCL device.
CN24 looks for a configuration file config
in its binary directory. On some build systems, there are multiple binary directories (Debug
, Release
, ...). In this case, CN24 will also look one directory up from its binary directory so only one configuration file has to be created.
The config
file entries for OpenCL are the following:
opencl_platform=0
opencl_device=0
Replace the numbers with the appropriate identifiers for your preferred OpenCL device.
Copyright © 2015 Clemens-Alexander Brust and all contributors. See LICENSE for details.