* [Bug 70779] OpenCL hangs with big kernels
2013-10-22 19:36 [Bug 70779] New: OpenCL hangs with big kernels bugzilla-daemon
@ 2013-11-06 9:38 ` bugzilla-daemon
2014-01-08 19:38 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-11-06 9:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 194 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70779
--- Comment #1 from Hristo Venev <mustrumr97@gmail.com> ---
Bump.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 928 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] 9+ messages in thread* [Bug 70779] OpenCL hangs with big kernels
2013-10-22 19:36 [Bug 70779] New: OpenCL hangs with big kernels bugzilla-daemon
2013-11-06 9:38 ` [Bug 70779] " bugzilla-daemon
@ 2014-01-08 19:38 ` bugzilla-daemon
2016-02-14 4:39 ` bugzilla-daemon
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2014-01-08 19:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 194 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70779
--- Comment #2 from Hristo Venev <mustrumr97@gmail.com> ---
Bump.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 928 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] 9+ messages in thread* [Bug 70779] OpenCL hangs with big kernels
2013-10-22 19:36 [Bug 70779] New: OpenCL hangs with big kernels bugzilla-daemon
2013-11-06 9:38 ` [Bug 70779] " bugzilla-daemon
2014-01-08 19:38 ` bugzilla-daemon
@ 2016-02-14 4:39 ` bugzilla-daemon
2016-02-14 7:11 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-02-14 4:39 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70779
EoD <EoD@xmw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |EoD@xmw.de
--- Comment #3 from EoD <EoD@xmw.de> ---
Do you have an example of such a kernel?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1631 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 70779] OpenCL hangs with big kernels
2013-10-22 19:36 [Bug 70779] New: OpenCL hangs with big kernels bugzilla-daemon
` (2 preceding siblings ...)
2016-02-14 4:39 ` bugzilla-daemon
@ 2016-02-14 7:11 ` bugzilla-daemon
2016-02-14 11:41 ` bugzilla-daemon
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-02-14 7:11 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 688 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70779
--- Comment #4 from Hristo Venev <mustrumr97@gmail.com> ---
Here are two kernels that fail:
__kernel void uint_div(__global const uint *a, __global const uint *b,
__global uint *c){
c[0]=a[0]/b[0];
}
__kernel void uint_add16(__global const uint *a, __global const uint *b,
__global uint *c){
for(uint i=0;i<16;i++) c[i]=a[i]+b[i];
}
This one works:
__kernel void uint_add(__global const uint *a, __global const uint *b,
__global uint *c){
c[0]=a[0]+b[0];
}
Sadly I don't have access to the hardware anymore (it's probably in a dump
somewhere).
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1417 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 70779] OpenCL hangs with big kernels
2013-10-22 19:36 [Bug 70779] New: OpenCL hangs with big kernels bugzilla-daemon
` (3 preceding siblings ...)
2016-02-14 7:11 ` bugzilla-daemon
@ 2016-02-14 11:41 ` bugzilla-daemon
2016-02-15 6:11 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-02-14 11:41 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 958 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70779
--- Comment #5 from EoD <EoD@xmw.de> ---
Created attachment 121742
--> https://bugs.freedesktop.org/attachment.cgi?id=121742&action=edit
dmesg after running the uint_add16() kernel
(In reply to Hristo Venev from comment #4)
> Here are two kernels that fail:
> __kernel void uint_div(__global const uint *a, __global const uint *b,
> __global uint *c){
> c[0]=a[0]/b[0];
> }
> __kernel void uint_add16(__global const uint *a, __global const uint *b,
> __global uint *c){
> for(uint i=0;i<16;i++) c[i]=a[i]+b[i];
> }
I actually can confirm that the 2nd kernel does cause a GPU stall in the radeon
driver (r600/Barts). It causes no problem with amdgpu (radeonsi/Tonga).
I am using kernel 4.5.0-rc3, current llvm 3.8 branch and current mesa git.
As I am not overly good with OpenCL, is this kernel somehow problematic?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1941 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 70779] OpenCL hangs with big kernels
2013-10-22 19:36 [Bug 70779] New: OpenCL hangs with big kernels bugzilla-daemon
` (4 preceding siblings ...)
2016-02-14 11:41 ` bugzilla-daemon
@ 2016-02-15 6:11 ` bugzilla-daemon
2016-02-15 6:13 ` bugzilla-daemon
2017-03-22 16:05 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-02-15 6:11 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 414 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70779
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121742|text/x-log |text/plain
mime type| |
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1044 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 70779] OpenCL hangs with big kernels
2013-10-22 19:36 [Bug 70779] New: OpenCL hangs with big kernels bugzilla-daemon
` (5 preceding siblings ...)
2016-02-15 6:11 ` bugzilla-daemon
@ 2016-02-15 6:13 ` bugzilla-daemon
2017-03-22 16:05 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-02-15 6:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 318 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70779
--- Comment #6 from Michel Dänzer <michel@daenzer.net> ---
I think this is probably a duplicate of bug 60879 and that it was basically
luck that "small kernels" didn't hang on Hristo's card.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1218 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 70779] OpenCL hangs with big kernels
2013-10-22 19:36 [Bug 70779] New: OpenCL hangs with big kernels bugzilla-daemon
` (6 preceding siblings ...)
2016-02-15 6:13 ` bugzilla-daemon
@ 2017-03-22 16:05 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-03-22 16:05 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1005 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70779
Vedran Miletić <vedran@miletic.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #7 from Vedran Miletić <vedran@miletic.net> ---
(In reply to EoD from comment #5)
> I actually can confirm that the 2nd kernel does cause a GPU stall in the
> radeon driver (r600/Barts). It causes no problem with amdgpu
> (radeonsi/Tonga).
>
> I am using kernel 4.5.0-rc3, current llvm 3.8 branch and current mesa git.
>
> As I am not overly good with OpenCL, is this kernel somehow problematic?
EoD, if these stalls on r600 are still reproducible, please open a separate
bug.
*** This bug has been marked as a duplicate of bug 60879 ***
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2722 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread