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==--