-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaCL.createBestContext() hangs on GTX680 (Kepler architecture) #15
Comments
Hi Jan, Thanks for your bug report! Is this happening on a 64 bit linux + 64 bit JVM? ( Also, could you please try to call JavaCL.createBestContext(CLPlatform.DeviceFeature.GPU) instead, and if it works, to check if other features than the default MaxComputeUnits cause the hang? Cheers |
From @karolovbrat on October 8, 2012 20:41 Hi Olivier, "Is this happening on a 64 bit linux + 64 bit JVM? (java -version)" "Also, could you please try to call JavaCL.createBestContext(CLPlatform.DeviceFeature.GPU) instead, and if it works, to check if other features than the default MaxComputeUnits cause the hang?" "And by any chance, were you able to attach a Java debugger or gdb to see which call the process is hung into?" Cheers, |
From @karolovbrat on October 8, 2012 21:54 Hi Olivier, I attached the jdb debugger to my application and retrieved the following stack trace I am running javacl 1.0.0-RC2. Hopefully this helps. Cheers, |
Hi @karolovbrat , Thanks for your help! Could you please try switching to the latest 1.0-SNAPSHOT version? Cheers |
From @karolovbrat on October 9, 2012 7:17 Hi Olivier, the 1.0-SNAPSHOT version still hangs the stack trace follows: [1] com.nativelibs4java.opencl.library.OpenCLLibrary.clCreateContext (native method) Cheers, |
Hi Jan, Thanks a lot for your patience! It turns out the way JavaCL called clCreateContext used an "implementation-defined" case, according to the specs (cf. case of NULL properties parameter: http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clCreateContext.html ). Cheers |
From @karolovbrat on October 10, 2012 9:35 Hi Olivier, Thanks a lot for your effort. Unfortunately, it still hangs. [1] com.nativelibs4java.opencl.library.OpenCLLibrary.clCreateContext (native method) I will also try to call "createContext(Map<CLPlatform.ContextProperties,Object> contextProperties, CLDevice... devices)" so that I can specify the device for which I want to create the context. Cheers, |
From @karolovbrat on October 10, 2012 9:44 Creating the context for the specific device through: CLDevice device = JavaCL.getBestDevice(); did not help either. |
From @karolovbrat on October 5, 2012 10:22
Hi Olivier,
when I try to run my JavaCL application it hangs in JavaCL.createBestContext().
Used HW and SW is
CentOS linux
GTX 680 (Kepler architecture) with Cuda Toolkit 4.2
When I try to run it under same settings on GTX 480 (Fermi architecture) it runs just fine.
Thank you very much for investigating the matter.
Regards,
Jan
Copied from original issue: nativelibs4java/nativelibs4java#343
The text was updated successfully, but these errors were encountered: