Login  Register

Bug report CLCommandQueue.java

Posted by Matthias on Apr 04, 2012; 4:10pm
URL: https://forum.jogamp.org/Bug-report-CLCommandQueue-java-tp3884564.html

Hello,

whats the correct way to report a Bug?

if here is the right place:
There is probably a copy&paste bug 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
    }  

best regards
Matthias