Marco Hutter
Marco Hutter
They will not work directly. You can obtain a pointer to a Java array in JNI, using `GetPrimitiveArrayCritical`. This is already done in JOCL, for **blocking** operations. The pseudocode is...
@TPolzer In this case, JOCL will internally keep a reference to the input data until the write operation finished. So the input data will not be garbage collected in the...
^ This comment was by me. I was logged in with the wrong account.
I did some general tests, particularly regarding the secondary issue. From the first test, it indeed seems that a relocation of arrays occurs only during a full GC, and the...
@blueberry Some off-topic (I'm not sure how much I should elaborate this here) : Eight years ago I started this "code generation" with some crude hacks, to generate the code...
Sure, I'm always open for talking about this. But maybe with a small disclaimer: It has been quiet around JOCL recently. Also because it has been relatively quiet about OpenCL...
I haven't had the chance to _really_ look more closely at the latest state of the ray tracer. But some quick thoughts for now. --- > My code in the...
It's hard to make a guess from the traces alone. A segfault can have many reasons. The confusing thing is that (from what I've seen), the traces in the log...
Thanks for the feedback @LlemonDuck . I wondered whether it might be the case that, **very** roughly speaking, the current call to `clCreateCommandQueue` that is done from runelite dispatches to...
Thanks for the details. But the most important part for diving into the reason for the error is the stack trace, and this only contains the stack trace that we...