From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 70779] OpenCL hangs with big kernels Date: Sun, 14 Feb 2016 07:11:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0546630797==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8E46D6E111 for ; Sat, 13 Feb 2016 23:11:11 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0546630797== Content-Type: multipart/alternative; boundary="14554338711.f156.18705"; charset="UTF-8" --14554338711.f156.18705 Date: Sun, 14 Feb 2016 07:11:11 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=70779 --- Comment #4 from Hristo Venev --- 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. --14554338711.f156.18705 Date: Sun, 14 Feb 2016 07:11:11 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 4 on bug 70779 from
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.
--14554338711.f156.18705-- --===============0546630797== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0546630797==--