<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>573</bug_id>
          
          <creation_ts>2012-04-05 11:24:08 +0200</creation_ts>
          <short_desc>Bug in putCopyBuffer</short_desc>
          <delta_ts>2013-10-12 22:19:07 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jocl</product>
          <component>opencl</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Matthias Leinweber">leinweberm</reporter>
          <assigned_to name="Michael Bien">bienator</assigned_to>
          <cc>gouessej</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>d587291ccfc23970647192aeffc99fc60b17829c</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1521</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias Leinweber">leinweberm</who>
    <bug_when>2012-04-05 11:24:08 +0200</bug_when>
    <thetext>Maybe a copy&amp;paste mistake in CLCommandqueue.java:

     /**   
     * Calls {@native clEnqueueCopyBuffer}. 
     */ 
    public CLCommandQueue putCopyBuffer(CLBuffer&lt;?&gt; src, CLBuffer&lt;?&gt; dest, int srcOffset, int destOffset, long bytesToCopy, CLEventList events) { 
        return putCopyBuffer(src, dest, 0, 0, bytesToCopy, null, events); 
                                        ^  ^  should be srcOffset, destOffset 
    }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2359</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-03-27 13:52:30 +0100</bug_when>
    <thetext>Hi

Can you provide a unit test just to be sure we know what we are doing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3099</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-12 22:19:07 +0200</bug_when>
    <thetext>Thx - fixed the copy/paste error w/o unit test (given the state of JOCL and simplicity of bug).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>