JOCL class CLCommandQueue Line 413 putCopyBufferRect( src, dest, srcOriginX, srcOriginY, 0, destOriginX, destOriginY, 0, rangeX, rangeY, 1, srcRowPitch, srcSlicePitch, destSlicePitch, destRowPitch, condition, events); destSlicePitch and destRowPitch should be switched to match its method declaration: public CLCommandQueue putCopyBufferRect(CLBuffer<?> src, CLBuffer<?> dest, int srcOriginX, int srcOriginY, int srcOriginZ, int destOriginX, int destOriginY, int destOriginZ, int rangeX, int rangeY, int rangeZ, long srcRowPitch, long srcSlicePitch, long destRowPitch, long destSlicePitch, CLEventList condition, CLEventList events) {
I'll look at this once I check in some pending commits for other bugs.
Committed this to master just now. It might take a little while to appear in the nightly builds, since the build server is down temporarily. Good catch! Thanks for reporting this.