dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 65822] New: [radeonsi] OpenCL is broken
@ 2013-06-16 12:05 bugzilla-daemon
  2013-06-17 16:21 ` [Bug 65822] " bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-06-16 12:05 UTC (permalink / raw)
  To: dri-devel


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

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

          Priority: medium
            Bug ID: 65822
          Assignee: dri-devel@lists.freedesktop.org
           Summary: [radeonsi] OpenCL is broken
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: mustrumr97@gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Drivers/Gallium/radeonsi
           Product: Mesa

Created attachment 80907
  --> https://bugs.freedesktop.org/attachment.cgi?id=80907&action=edit
Test results

I've attached test results.

a[i]=i+1
b[i]=2*a[i]
Test 1: add uints and divide by 3
Test 2: test 1 done 10 times in a for loop
Test 3: divide uints
Test 4: if statement dependent on load with an addition in the false branch.

Test 1 works, tests 2 and 3 halt and test 4 crashes.

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

[-- Attachment #1.2: Type: text/html, Size: 2355 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 65822] [radeonsi] OpenCL is broken
  2013-06-16 12:05 [Bug 65822] New: [radeonsi] OpenCL is broken bugzilla-daemon
@ 2013-06-17 16:21 ` bugzilla-daemon
  2013-06-17 22:34 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-06-17 16:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Tom Stellard <tstellar@gmail.com> ---
I will take a look at this when I get a chance.  In the mean time it would be
great if you could convert these into piglit tests.  Here is a good example:
http://cgit.freedesktop.org/piglit/tree/tests/cl/program/execute/sha256-Ch.cl

Probably one file for each test would be good.

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

[-- Attachment #1.2: Type: text/html, Size: 1287 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 65822] [radeonsi] OpenCL is broken
  2013-06-16 12:05 [Bug 65822] New: [radeonsi] OpenCL is broken bugzilla-daemon
  2013-06-17 16:21 ` [Bug 65822] " bugzilla-daemon
@ 2013-06-17 22:34 ` bugzilla-daemon
  2013-06-17 23:04 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-06-17 22:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Aaron Watry <awatry@gmail.com> ---
Created attachment 80967
  --> https://bugs.freedesktop.org/attachment.cgi?id=80967&action=edit
Test Code from initial post converted to piglit tests

I've taken a shot at converting the original tests to piglit tests.

I'll test a radeon 7850 in a bit, but I know that Cedar (radeon 5400, so
evergreen) also fails each of these tests (and I got a GPU hang running the
uint div test after 6-7 times).

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

[-- Attachment #1.2: Type: text/html, Size: 1506 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 65822] [radeonsi] OpenCL is broken
  2013-06-16 12:05 [Bug 65822] New: [radeonsi] OpenCL is broken bugzilla-daemon
  2013-06-17 16:21 ` [Bug 65822] " bugzilla-daemon
  2013-06-17 22:34 ` bugzilla-daemon
@ 2013-06-17 23:04 ` bugzilla-daemon
  2013-06-18 17:33 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-06-17 23:04 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Aaron Watry <awatry@gmail.com> ---
Created attachment 80969
  --> https://bugs.freedesktop.org/attachment.cgi?id=80969&action=edit
Shader dumps from a radeon 7850 for test cases in attachment 80967

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

[-- Attachment #1.2: Type: text/html, Size: 1562 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 65822] [radeonsi] OpenCL is broken
  2013-06-16 12:05 [Bug 65822] New: [radeonsi] OpenCL is broken bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-06-17 23:04 ` bugzilla-daemon
@ 2013-06-18 17:33 ` bugzilla-daemon
  2013-06-18 21:29 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-06-18 17:33 UTC (permalink / raw)
  To: dri-devel


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

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

Tom Stellard <tstellar@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #80967|0                           |1
        is obsolete|                            |
  Attachment #80969|0                           |1
        is obsolete|                            |

--- Comment #4 from Tom Stellard <tstellar@gmail.com> ---
Created attachment 81026
  --> https://bugs.freedesktop.org/attachment.cgi?id=81026&action=edit
Updated piglit tests

Thanks for writing the piglit tests, I noticed a few bugs in them though. 
First, the output argument for all of the tests should be index 2 and not index
0 and second, in test #2 the buffer index should be multiplied by 8 instead of
10.  I've fixed the piglit tests in the attached patch and also replaced the
'_' with '-' in the filename.  The updated tests pass on my Llano APU.

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

[-- Attachment #1.2: Type: text/html, Size: 2587 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 65822] [radeonsi] OpenCL is broken
  2013-06-16 12:05 [Bug 65822] New: [radeonsi] OpenCL is broken bugzilla-daemon
                   ` (3 preceding siblings ...)
  2013-06-18 17:33 ` bugzilla-daemon
@ 2013-06-18 21:29 ` bugzilla-daemon
  2013-06-18 21:30 ` bugzilla-daemon
  2014-08-21 15:59 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-06-18 21:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Aaron Watry <awatry@gmail.com> ---
Ack!  You're right.  I'm so used to the output being arg 0 from every other
piglit test that I neglected to check these.

With that and the index multiplier changed, these tests also pass on Cedar.

All of the test cases currently pass on my pitcairn, except for the
code-in-else test, which fails with:

cl-program-tester:
/home/awatry/src/llvm/include/llvm/Target/TargetRegisterInfo.h:560: const
llvm::TargetRegisterClass* llvm::TargetRegisterInfo::getRegClass(unsigned int)
const: Assertion `i < getNumRegClasses() && "Register Class ID out of range"'
failed.
Stack dump:
0.    Running pass 'Function Pass Manager' on module 'radeon'.
1.    Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function
'@test4'

I'll attach the assembly in a follow-up

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

[-- Attachment #1.2: Type: text/html, Size: 1703 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 65822] [radeonsi] OpenCL is broken
  2013-06-16 12:05 [Bug 65822] New: [radeonsi] OpenCL is broken bugzilla-daemon
                   ` (4 preceding siblings ...)
  2013-06-18 21:29 ` bugzilla-daemon
@ 2013-06-18 21:30 ` bugzilla-daemon
  2014-08-21 15:59 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-06-18 21:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Aaron Watry <awatry@gmail.com> ---
Created attachment 81042
  --> https://bugs.freedesktop.org/attachment.cgi?id=81042&action=edit
code-in-else.ll

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

[-- Attachment #1.2: Type: text/html, Size: 1141 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 65822] [radeonsi] OpenCL is broken
  2013-06-16 12:05 [Bug 65822] New: [radeonsi] OpenCL is broken bugzilla-daemon
                   ` (5 preceding siblings ...)
  2013-06-18 21:30 ` bugzilla-daemon
@ 2014-08-21 15:59 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-08-21 15:59 UTC (permalink / raw)
  To: dri-devel


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

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

Tom Stellard <tstellar@gmail.com> changed:

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

--- Comment #7 from Tom Stellard <tstellar@gmail.com> ---
This test case is working for me now.  Please re-open if you are still having
problems.

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

[-- Attachment #1.2: Type: text/html, Size: 1957 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-21 15:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-16 12:05 [Bug 65822] New: [radeonsi] OpenCL is broken bugzilla-daemon
2013-06-17 16:21 ` [Bug 65822] " bugzilla-daemon
2013-06-17 22:34 ` bugzilla-daemon
2013-06-17 23:04 ` bugzilla-daemon
2013-06-18 17:33 ` bugzilla-daemon
2013-06-18 21:29 ` bugzilla-daemon
2013-06-18 21:30 ` bugzilla-daemon
2014-08-21 15:59 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).