From: bugzilla-daemon@freedesktop.org Subject: [Bug 105200] [r600g] Regression: ImageMagick OpenCL kernel no longer compiles Date: Fri, 23 Feb 2018 17:02:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0158998710==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 742C96F21E for ; Fri, 23 Feb 2018 17:02:12 +0000 (UTC) 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 --===============0158998710== Content-Type: multipart/alternative; boundary="15194053321.aDDb.23768" Content-Transfer-Encoding: 7bit --15194053321.aDDb.23768 Date: Fri, 23 Feb 2018 17:02:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105200 --- Comment #5 from Jan Vesely --- (In reply to nixscripter from comment #4) > Thanks to your quick response, I got libclc compiled successfully. >=20 > Now when I try to view an image, the OpenCL compile error is different: >=20 > :0:0: in function ResizeHorizontalFilter void (float addrspace(1= )*, > i32, i32, i32, float addrspace(1)*, i32, i32, float, i32, i32, float > addrspace(1)*, float, float, float, float, float addrspace(3)*, i32, i32, > i32, <4 x float> addrspace(3)*, float addrspace(3)*, float addrspace(3)*): > unsupported call to function applyResizeFilter >=20 > I'd call that progress, certainly. >=20 > applyResizeFilter is on line 78 of the kernel, and ResizeHorizontalFilter= is > on line 81. that's weird. Probably a separate bug. All functions should be marked as always_inline. moreover the function in question is explicitly marked as inline. The only thing I can think of is that the function signature does not match between definition and the call site Does imagemagick use some form of kernel cache? if yes it needs to be clean= ed. what is the GPU that you're using? Can you run CLOVER_DEBUG=3Dllvm,clc CLOVER_DEBUG_FILE=3Dimagick and attach = the .cl and .ll dump files? --=20 You are receiving this mail because: You are the assignee for the bug.= --15194053321.aDDb.23768 Date: Fri, 23 Feb 2018 17:02:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 5 on bug 10520= 0 from Jan Vesely
(In reply to nixscripter from comment #4)
> Thanks to your quick response, I got libclc comp=
iled successfully.
>=20
> Now when I try to view an image, the OpenCL compile error is different:
>=20
> <unknown>:0:0: in function ResizeHorizontalFilter void (float ad=
drspace(1)*,
> i32, i32, i32, float addrspace(1)*, i32, i32, float, i32, i32, float
> addrspace(1)*, float, float, float, float, float addrspace(3)*, i32, i=
32,
> i32, <4 x float> addrspace(3)*, float addrspace(3)*, float addrs=
pace(3)*):
> unsupported call to function applyResizeFilter
>=20
> I'd call that progress, certainly.
>=20
> applyResizeFilter is on line 78 of the kernel, and ResizeHorizontalFil=
ter is
> on line 81.

that's weird. Probably a separate bug. All functions should be marked as
always_inline. moreover the function in question is explicitly marked as
inline.
The only thing I can think of is that the function signature does not match
between definition and the call site
Does imagemagick use some form of kernel cache? if yes it needs to be clean=
ed.

what is the GPU that you're using?
Can you run CLOVER_DEBUG=3Dllvm,clc CLOVER_DEBUG_FILE=3Dimagick and attach =
the .cl
and .ll dump files?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15194053321.aDDb.23768-- --===============0158998710== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0158998710==--