<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - OpenCL hangs with big kernels"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70779#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - OpenCL hangs with big kernels"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70779">bug 70779</a>
              from <span class="vcard"><a class="email" href="mailto:mustrumr97@gmail.com" title="Hristo Venev <mustrumr97@gmail.com>"> <span class="fn">Hristo Venev</span></a>
</span></b>
        <pre>Here are two kernels that fail:
__kernel void uint_div(__global const uint *a,  __global const uint *b,
__global uint *c){
    c[0]=a[0]/b[0];
}
__kernel void uint_add16(__global const uint *a,  __global const uint *b,
__global uint *c){
    for(uint i=0;i<16;i++) c[i]=a[i]+b[i];
}

This one works:
__kernel void uint_add(__global const uint *a,  __global const uint *b,
__global uint *c){
    c[0]=a[0]+b[0];
}

Sadly I don't have access to the hardware anymore (it's probably in a dump
somewhere).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>