Hi Matthias,
no, CUDA only works for GPUs. If you want to select a particular CUDA device, use cudaSetDevice() directly (at the very beginning of your application).
Best regards,
Karli
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
selecting the device with the OpenCL backend can be done via
Is there a similar thing for the CUDA backend?
Thanks and best regards,
Matthias
Last edit: mmoeller 2017-08-24
Hi Matthias,
no, CUDA only works for GPUs. If you want to select a particular CUDA device, use cudaSetDevice() directly (at the very beginning of your application).
Best regards,
Karli