Maybe a copy&paste mistake in CLCommandqueue.java: /** * Calls {@native clEnqueueCopyBuffer}. */ public CLCommandQueue putCopyBuffer(CLBuffer<?> src, CLBuffer<?> dest, int srcOffset, int destOffset, long bytesToCopy, CLEventList events) { return putCopyBuffer(src, dest, 0, 0, bytesToCopy, null, events); ^ ^ should be srcOffset, destOffset }
Hi Can you provide a unit test just to be sure we know what we are doing?
Thx - fixed the copy/paste error w/o unit test (given the state of JOCL and simplicity of bug).