All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 82709] New: OpenCL not working on radeon hainan
@ 2014-08-16 19:23 bugzilla-daemon
  2014-08-19 20:21 ` [Bug 82709] " bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-16 19:23 UTC (permalink / raw)
  To: dri-devel


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 82709] OpenCL not working on radeon hainan
  2014-08-16 19:23 [Bug 82709] New: OpenCL not working on radeon hainan bugzilla-daemon
@ 2014-08-19 20:21 ` bugzilla-daemon
  2014-08-19 20:25 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-19 20:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Tom Stellard <tstellar@gmail.com> ---
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.

[-- Attachment #1.2: Type: text/html, Size: 1360 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 82709] OpenCL not working on radeon hainan
  2014-08-16 19:23 [Bug 82709] New: OpenCL not working on radeon hainan bugzilla-daemon
  2014-08-19 20:21 ` [Bug 82709] " bugzilla-daemon
@ 2014-08-19 20:25 ` bugzilla-daemon
  2014-08-20  8:42 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-19 20:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Ilia Mirkin <imirkin@alum.mit.edu> ---
(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.

[-- Attachment #1.2: Type: text/html, Size: 1501 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 82709] OpenCL not working on radeon hainan
  2014-08-16 19:23 [Bug 82709] New: OpenCL not working on radeon hainan bugzilla-daemon
  2014-08-19 20:21 ` [Bug 82709] " bugzilla-daemon
  2014-08-19 20:25 ` bugzilla-daemon
@ 2014-08-20  8:42 ` bugzilla-daemon
  2014-08-21 14:09 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-20  8:42 UTC (permalink / raw)
  To: dri-devel


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

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

Pali Rohár <pali.rohar@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pali.rohar@gmail.com

--- Comment #3 from Pali Rohár <pali.rohar@gmail.com> ---
I added missing break after both gpu = lines, recompiled mesa with that patch
and opencl examples started working without above sed and symlink hacks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1902 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 82709] OpenCL not working on radeon hainan
  2014-08-16 19:23 [Bug 82709] New: OpenCL not working on radeon hainan bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-08-20  8:42 ` bugzilla-daemon
@ 2014-08-21 14:09 ` bugzilla-daemon
  2014-08-22  8:03 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-21 14:09 UTC (permalink / raw)
  To: dri-devel


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

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

Tom Stellard <tstellar@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Tom Stellard <tstellar@gmail.com> ---
Fixed in git commit 8109664dedee588dc98c9a7c25bd40c0eb56c35f

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1954 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 82709] OpenCL not working on radeon hainan
  2014-08-16 19:23 [Bug 82709] New: OpenCL not working on radeon hainan bugzilla-daemon
                   ` (3 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-22  8:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Pali Rohár <pali.rohar@gmail.com> ---
@Tom Stellard: Are you going to fix this problem in llvm/clang/libclc?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1079 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 82709] OpenCL not working on radeon hainan
  2014-08-16 19:23 [Bug 82709] New: OpenCL not working on radeon hainan bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-08-22  8:03 ` bugzilla-daemon
@ 2014-08-22 12:25 ` bugzilla-daemon
  2014-08-22 17:10 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-22 12:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Alex Deucher <agd5f@yahoo.com> ---
(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.

[-- Attachment #1.2: Type: text/html, Size: 1198 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 82709] OpenCL not working on radeon hainan
  2014-08-16 19:23 [Bug 82709] New: OpenCL not working on radeon hainan bugzilla-daemon
                   ` (5 preceding siblings ...)
  2014-08-22 12:25 ` bugzilla-daemon
@ 2014-08-22 17:10 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-22 17:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Tom Stellard <tstellar@gmail.com> ---
(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.

[-- Attachment #1.2: Type: text/html, Size: 1238 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-22 17:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-16 19:23 [Bug 82709] New: OpenCL not working on radeon hainan bugzilla-daemon
2014-08-19 20:21 ` [Bug 82709] " 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

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.