[Bug 82709] New: OpenCL not working on radeon hainan

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 16 12:23:25 PDT 2014


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

          Priority: medium
            Bug ID: 82709
          Assignee: dri-devel at lists.freedesktop.org
           Summary: OpenCL not working on radeon hainan
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: pali.rohar at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140816/fafcbce1/attachment.html>


More information about the dri-devel mailing list