From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82709] New: OpenCL not working on radeon hainan
Date: Sat, 16 Aug 2014 19:23:25 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0863891542=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 152D56E295
for ; Sat, 16 Aug 2014 12:23:25 -0700 (PDT)
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
--===============0863891542==
Content-Type: multipart/alternative; boundary="1408217004.4d1bfb8d0.14010"; charset="us-ascii"
--1408217004.4d1bfb8d0.14010
Date: Sat, 16 Aug 2014 19:23:24 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82709
Priority: medium
Bug ID: 82709
Assignee: dri-devel@lists.freedesktop.org
Summary: OpenCL not working on radeon hainan
Severity: normal
Classification: Unclassified
OS: All
Reporter: pali.rohar@gmail.com
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa
OpenCL not working on Radeon HD 8690M card which has Hainan chip.
example hello world application shows this error log:
Build Log:
error: unknown target CPU 'hainan'
haagch on #dri-devel suggested me to:
$ sudo sed -i "s/tahiti/hainan/" /usr/lib/libMesaOpenCL.so
and after this "fix" I got:
Build Log:
fatal error: cannot open file '/usr/lib/clc/hainan-r600--.bc': No such file or
directory
After that he suggested me to renaming tahiti-r600--.bc to hainan-r600--.bc
which fixed that problem and OpenCL started working.
So problem is probably in clang and libclc -- that there is missing hainan name
in cpu table.
--
You are receiving this mail because:
You are the assignee for the bug.
--1408217004.4d1bfb8d0.14010
Date: Sat, 16 Aug 2014 19:23:24 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Priority |
medium
|
Bug ID |
82709
|
Assignee |
dri-devel@lists.freedesktop.org
|
Summary |
OpenCL not working on radeon hainan
|
Severity |
normal
|
Classification |
Unclassified
|
OS |
All
|
Reporter |
pali.rohar@gmail.com
|
Hardware |
Other
|
Status |
NEW
|
Version |
git
|
Component |
Drivers/Gallium/radeonsi
|
Product |
Mesa
|
OpenCL not working on Radeon HD 8690M card which has Hainan chip.
example hello world application shows this error log:
Build Log:
error: unknown target CPU 'hainan'
haagch on #dri-devel suggested me to:
$ sudo sed -i "s/tahiti/hainan/" /usr/lib/libMesaOpenCL.so
and after this "fix" I got:
Build Log:
fatal error: cannot open file '/usr/lib/clc/hainan-r600--.bc': No such file or
directory
After that he suggested me to renaming tahiti-r600--.bc to hainan-r600--.bc
which fixed that problem and OpenCL started working.
So problem is probably in clang and libclc -- that there is missing hainan name
in cpu table.
You are receiving this mail because:
- You are the assignee for the bug.
--1408217004.4d1bfb8d0.14010--
--===============0863891542==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0863891542==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82709] OpenCL not working on radeon hainan
Date: Tue, 19 Aug 2014 20:21:12 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1514544825=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 271CB89EA6
for ; Tue, 19 Aug 2014 13:21:12 -0700 (PDT)
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
--===============1514544825==
Content-Type: multipart/alternative; boundary="1408479672.BcBE70.21374"; charset="us-ascii"
--1408479672.BcBE70.21374
Date: Tue, 19 Aug 2014 20:21:12 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82709
--- Comment #1 from Tom Stellard ---
Created attachment 104915
--> https://bugs.freedesktop.org/attachment.cgi?id=104915&action=edit
Work around for missing Hainan in clang
Does it work with this Mesa patch?
--
You are receiving this mail because:
You are the assignee for the bug.
--1408479672.BcBE70.21374
Date: Tue, 19 Aug 2014 20:21:12 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1408479672.BcBE70.21374--
--===============1514544825==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1514544825==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82709] OpenCL not working on radeon hainan
Date: Tue, 19 Aug 2014 20:25:43 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0943891931=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 6FC046E62C
for ; Tue, 19 Aug 2014 13:25:43 -0700 (PDT)
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
--===============0943891931==
Content-Type: multipart/alternative; boundary="1408479943.0C3Cd6F0.23319"; charset="us-ascii"
--1408479943.0C3Cd6F0.23319
Date: Tue, 19 Aug 2014 20:25:43 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82709
--- Comment #2 from Ilia Mirkin ---
(In reply to comment #1)
> Created attachment 104915 [details] [review]
> Work around for missing Hainan in clang
>
> Does it work with this Mesa patch?
missing break...
--
You are receiving this mail because:
You are the assignee for the bug.
--1408479943.0C3Cd6F0.23319
Date: Tue, 19 Aug 2014 20:25:43 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1408479943.0C3Cd6F0.23319--
--===============0943891931==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0943891931==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82709] OpenCL not working on radeon hainan
Date: Wed, 20 Aug 2014 08:42:21 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1877076443=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id DFCD66E3ED
for ; Wed, 20 Aug 2014 01:42:20 -0700 (PDT)
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
--===============1877076443==
Content-Type: multipart/alternative; boundary="1408524140.eb5d3A3E0.27288"; charset="us-ascii"
--1408524140.eb5d3A3E0.27288
Date: Wed, 20 Aug 2014 08:42:20 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D82709
Pali Roh=C3=A1r changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pali.rohar@gmail.com
--- Comment #3 from Pali Roh=C3=A1r ---
I added missing break after both gpu =3D lines, recompiled mesa with that p=
atch
and opencl examples started working without above sed and symlink hacks.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1408524140.eb5d3A3E0.27288
Date: Wed, 20 Aug 2014 08:42:20 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Pali Roh=C3=A1r
changed
bug 82709<=
/a>
What |
Removed |
Added |
CC |
|
pali.rohar@gmail.com
|
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1408524140.eb5d3A3E0.27288--
--===============1877076443==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1877076443==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82709] OpenCL not working on radeon hainan
Date: Thu, 21 Aug 2014 14:09:18 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0928813483=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 816C66E16A
for ; Thu, 21 Aug 2014 07:09:18 -0700 (PDT)
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
--===============0928813483==
Content-Type: multipart/alternative; boundary="1408630158.C13dA0.2184"; charset="us-ascii"
--1408630158.C13dA0.2184
Date: Thu, 21 Aug 2014 14:09:18 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82709
Tom Stellard changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Tom Stellard ---
Fixed in git commit 8109664dedee588dc98c9a7c25bd40c0eb56c35f
--
You are receiving this mail because:
You are the assignee for the bug.
--1408630158.C13dA0.2184
Date: Thu, 21 Aug 2014 14:09:18 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Tom Stellard
changed
bug 82709
What |
Removed |
Added |
Status |
NEW
|
RESOLVED
|
Resolution |
---
|
FIXED
|
You are receiving this mail because:
- You are the assignee for the bug.
--1408630158.C13dA0.2184--
--===============0928813483==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0928813483==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82709] OpenCL not working on radeon hainan
Date: Fri, 22 Aug 2014 08:03:07 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1025422232=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 0310C6E36C
for ; Fri, 22 Aug 2014 01:03:07 -0700 (PDT)
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
--===============1025422232==
Content-Type: multipart/alternative; boundary="1408694586.1EF0Fd0.16878"; charset="us-ascii"
--1408694586.1EF0Fd0.16878
Date: Fri, 22 Aug 2014 08:03:06 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D82709
--- Comment #5 from Pali Roh=C3=A1r ---
@Tom Stellard: Are you going to fix this problem in llvm/clang/libclc?
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1408694586.1EF0Fd0.16878
Date: Fri, 22 Aug 2014 08:03:06 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1408694586.1EF0Fd0.16878--
--===============1025422232==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1025422232==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82709] OpenCL not working on radeon hainan
Date: Fri, 22 Aug 2014 12:25:26 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2101646404=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id DB78D6E380
for ; Fri, 22 Aug 2014 05:25:25 -0700 (PDT)
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
--===============2101646404==
Content-Type: multipart/alternative; boundary="1408710325.BCAC0Fb0.17155"; charset="us-ascii"
--1408710325.BCAC0Fb0.17155
Date: Fri, 22 Aug 2014 12:25:25 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82709
--- Comment #6 from Alex Deucher ---
(In reply to comment #5)
> @Tom Stellard: Are you going to fix this problem in llvm/clang/libclc?
IIRC, it's already working with newer versions of clang.
--
You are receiving this mail because:
You are the assignee for the bug.
--1408710325.BCAC0Fb0.17155
Date: Fri, 22 Aug 2014 12:25:25 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
You are receiving this mail because:
- You are the assignee for the bug.
--1408710325.BCAC0Fb0.17155--
--===============2101646404==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============2101646404==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 82709] OpenCL not working on radeon hainan
Date: Fri, 22 Aug 2014 17:10:15 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0144453930=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 168236E092
for ; Fri, 22 Aug 2014 10:10:15 -0700 (PDT)
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
--===============0144453930==
Content-Type: multipart/alternative; boundary="1408727414.eeB17d50.24656"; charset="us-ascii"
--1408727414.eeB17d50.24656
Date: Fri, 22 Aug 2014 17:10:14 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=82709
--- Comment #7 from Tom Stellard ---
(In reply to comment #5)
> @Tom Stellard: Are you going to fix this problem in llvm/clang/libclc?
Yes, it's fixed in llvm/clang 3.6 and I'll try to backport the patch for
llvm/clang 3.5.1.
--
You are receiving this mail because:
You are the assignee for the bug.
--1408727414.eeB17d50.24656
Date: Fri, 22 Aug 2014 17:10:14 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 7
on bug 82709
from Tom Stellard
(In reply to comment #5)
> @Tom Stellard: Are you going to fix this problem in llvm/clang/libclc?
Yes, it's fixed in llvm/clang 3.6 and I'll try to backport the patch for
llvm/clang 3.5.1.
You are receiving this mail because:
- You are the assignee for the bug.
--1408727414.eeB17d50.24656--
--===============0144453930==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0144453930==--