Bug 491 - createImage3d incorrect arguments/bugs
Summary: createImage3d incorrect arguments/bugs
Status: VERIFIED FIXED
Alias: None
Product: Jocl
Classification: JogAmp
Component: opencl (show other bugs)
Version: 1
Hardware: All all
: --- normal
Assignee: Michael Bien
URL:
Depends on:
Blocks:
 
Reported: 2011-04-04 04:23 CEST by notzed
Modified: 2011-04-04 20:27 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description notzed 2011-04-04 04:23:50 CEST
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.
Comment 1 Michael Bien 2011-04-04 20:27:24 CEST
fixed in commit
https://github.com/mbien/jocl/commit/907e4a1f9077f4ce5d2a8f98b99816f752ce30ce
all image3d factory methods have now a depth parameter, optional arguments are overloaded properly.