Bug 553 - CommandQueue.putCopyImageToBuffer() call to clEnqueueCopyImageToBuffer() is incorrect
Summary: CommandQueue.putCopyImageToBuffer() call to clEnqueueCopyImageToBuffer() is i...
Status: RESOLVED FIXED
Alias: None
Product: Jocl
Classification: JogAmp
Component: opencl (show other bugs)
Version: 1
Hardware: All all
: P4 major
Assignee: Michael Bien
URL:
Depends on:
Blocks:
 
Reported: 2012-01-23 01:22 CET by Samuel Audet
Modified: 2013-10-12 22:21 CEST (History)
3 users (show)

See Also:
Type: ---
SCM Refs:
7b21b5abb6373637eeeb270de05bb7472f70b853 722624dbbce37fa69c0cae0d832beb5a58d68739 ef02c4dc2aced367ad5de29171d138161e2b3514
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Audet 2012-01-23 01:22:49 CET
CommandQueue.putCopyImageToBuffer() contains this call:

1039         int ret = cl.clEnqueueCopyImageToBuffer(ID, dstBuffer.ID, srcImage.ID,

1040                                          ibA, ibB, dstOffset,

1041                                          conditions, conditionIDs, events==null ? null : events.IDs);


We need to switch the order of the dstBuffer.ID and srcImage.ID arguments...
Comment 1 lixoman100 2013-09-04 19:14:13 CEST
Fix included in this pull request: https://github.com/JogAmp/jocl/pull/2
Comment 2 Sven Gothel 2013-10-12 22:21:49 CEST
@LixoMan: Thank you very much!!

If possible, please change to a real world name to easy our 
IP tracking ..  thank you!