All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 82709] New: OpenCL not working on radeon hainan
Date: Sat, 16 Aug 2014 19:23:25 +0000	[thread overview]
Message-ID: <bug-82709-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1180 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 2491 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2014-08-16 19:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-16 19:23 bugzilla-daemon [this message]
2014-08-19 20:21 ` [Bug 82709] OpenCL not working on radeon hainan bugzilla-daemon
2014-08-19 20:25 ` bugzilla-daemon
2014-08-20  8:42 ` bugzilla-daemon
2014-08-21 14:09 ` bugzilla-daemon
2014-08-22  8:03 ` bugzilla-daemon
2014-08-22 12:25 ` bugzilla-daemon
2014-08-22 17:10 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-82709-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.