TPolzer
TPolzer
Doesn't this also apply to other non blocking memory operations to arrays? So e.g. ``` clEnqueueWriteBuffer(q, input, false, 0, Sizeof.cl_double * DATA_SIZE, Pointer.to(inputdata), 0, null, null); ``` should be considered...
It is likely almost never a real concern, because humongous objects are only compacted in full gc cycles, which should rarely occur.
Nothing scala specific here really, just that my code was already in scala. I am talking about multiple host threads all mapping and writing memory at the same time.
This is `stream` in Java: ```java public class OpenCLSession { final cl_context context; final cl_command_queue queue; final cl_device_id device; OpenCLSession(cl_context context, cl_command_queue queue, cl_device_id device) { this.context = context; this.queue...
I have tested this on several OpenCL implementations, and the Intel CPU one is the only crashing one. I have only observed it under parallel execution (the more threads, the...
Turns out the compressed coredump is not so huge, here it is (with 3 threads): http://bulsa.faui2k11.de/core.xz
I've tested this some more and indeed, it looks like a Hotspot/Intel problem: The same code (modified to use DoubleStream instead of scala Iterator) never segfaults when using the IBM...
I posted this issue to the Intel forums: https://software.intel.com/en-us/forums/opencl/topic/733905 Let's see what they think.
It shouldn't be that hard to reproduce with the jar I uploaded. Although my mentioning that I basically don't care anymore seems to have caused a loss of interest on...
Thanks indeed, let me add my 2¢ on those points too: - Array dimensions: Making dimensionality a checked property of variables was intentional. I would think that using the same...