You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my program i am calling org.jocl.CL.clEnquequeNDRangeKernelNative multiple times. JVM crashes after some number of iteration. As i said, after running for a while it crashes. It crashes with a EXCEPTION_ACCESS_VIOLATION.
Any ideas on how to debug this? At least i want to know what is thrown in native frame. Should i go for minidumps?
The text was updated successfully, but these errors were encountered:
It's hard to give specific recommendations without more specific information. Can you provide more information about what the kernel actually does?
Beyond that, one (very "coarse") debugging step could be to comment out the kernel code (making the kernel "empty"), to narrow down the source for the problem - specifically, to see whether it's a problem directly related to JOCL, or whether it's caused by the kernel writing to invalid memory locations or so.
An example that can directly be compiled and started and where the issue can be reproduced would be helpful, but I see that this can be difficult. But maybe even a few lines of code showing how you set up the kernel parameters and launch the kernel could help to make some more specific guesses, at least.
In my program i am calling
org.jocl.CL.clEnquequeNDRangeKernelNative
multiple times. JVM crashes after some number of iteration. As i said, after running for a while it crashes. It crashes with aEXCEPTION_ACCESS_VIOLATION
.Any ideas on how to debug this? At least i want to know what is thrown in native frame. Should i go for minidumps?
The text was updated successfully, but these errors were encountered: