CLContext.createImage3d(width, height, depth, rowStride, format, memflags) incorrectly ignores the depth argument and uses rowStride instead. fix: drop rowStride from argument list and invoke callee with depth.
fixed in commit https://github.com/mbien/jocl/commit/907e4a1f9077f4ce5d2a8f98b99816f752ce30ce all image3d factory methods have now a depth parameter, optional arguments are overloaded properly.