[Bug 70779] OpenCL hangs with big kernels

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 14 07:11:11 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=70779

--- Comment #4 from Hristo Venev <mustrumr97 at gmail.com> ---
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160214/3555864a/attachment.html>


More information about the dri-devel mailing list