Re: CL_DEVICE_NOT_AVAILABLE when creating CLContext with 64-bit Java on GTX 970
Posted by
SuspiciousDroid on
Apr 02, 2016; 1:07am
URL: https://forum.jogamp.org/CL-DEVICE-NOT-AVAILABLE-when-creating-CLContext-with-64-bit-Java-on-GTX-970-tp4036560p4036582.html
For the hacky, now working version I added
a) the JOGL dependency (which at least according to
http://jogamp.org/wiki/index.php/JOCL_FAQ isn't required for OpenCL stuff) and
b) added that call to GLProfile.initSingleton() - so it's stuff that should be unrelated to OpenCL.
The version that didn't work did not initialize any OpenGL stuff.
So it's not unexpected that this version loads more libraries for all the OpenGL stuff, including some jogamp dlls related to OpenGL.
The non-working version that does not contain the JOGL dependency still loads OpenCL.dll, jocl.dll, gluegen-rt.dll, nvapi64.dll, nvopencl.dll and some others, so it's not like is obviously missing dependencies.