[Error Report] CL_DEVICE_NOT_AVAILABLE if no Display connected

Hello Everyone,

I have two GPUs (AMD + NVidia) installed in order to make OpenCL Software run equally well on both Platforms. However i am not able to create a CLContext for the CUDA platform unless there is a Display connected to it. If no Display is connected CL_DEVICE_NOT_AVAILABLE is “returned”. What am i doing wrong here? I am using 320 drivers and Jogamp OpenCL bindings for Java.

Thanks in advance for your help

I have exactly the same problem. My program is linked against the OpenCL.lib from CUDA and the executable uses the OpenCL.dll from NVIDIA driver.

Have you resolved it? If so please let me know, thanks…