shared memory size 64k -> 32k?
https://bugs.freedesktop.org/show_bug.cgi?id=103697
Kenneth Graunke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|[email protected]. |[email protected] |org |.org Component|glsl-compiler |Drivers/Gallium/radeonsi QA Contact|[email protected] |[email protected] |ktop.org |.org
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=103697
Bas Nieuwenhuizen <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|NEW |RESOLVED--- Comment #1 from Bas Nieuwenhuizen <[email protected]> --- This is working as intended, the limit has been 32k for a while now.
What changed was that we added error checking in
https://cgit.freedesktop.org/mesa/mesa/commit/?id=a2c8812f919c59933605c5942d6613e14ec8b3d1
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=103697
--- Comment #2 from O Heid <[email protected]> ---
I checked back with AMD and they say that there is hardware support for 64kB shared memory. This actually gets exposed in OpenCL and ROCm/HC. The 2016 AMD GCN3 manual wrongly states it is only 32kB, but the AMD Vega ISA reference guide has the correct 64kB LDS size.
So it seems the restriction is due to the mesa software stack, not due to hardware. Could you please raise the bar back to 64kB? I wouldn't ask if it wouldn't hit me with with a 2x performance penalty...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=103697
--- Comment #3 from Nicolai Hähnle <[email protected]> ---
Bas explained what's going on correctly. We could consider raising the limit for compute shaders though. May ask what your use case is?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=103697
--- Comment #4 from O Heid <[email protected]> ---
Many thanks for your consideration - That would be great!
Our application is real time image processing and display. The main computing effort is delay-and-sum beamforming.
Source and destination data sets are much larger than LDS so we need to do block processing. This causes additional LDS <-> GPURAM traffic essentially inversely proportional to block (LDS) size. A 32k vs 64k limit (and thus twice the RAM traffic) therefore causes quite a performance hit.
Anyway: Mesa's OpenGL performance on AMD Radeons is quite amazing. Great job!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=103697
--- Comment #5 from O Heid <[email protected]> --- Created attachment 136272
--> https://bugs.freedesktop.org/attachment.cgi?id=136272&action=edit
Enable 64kB LDS on AMD Radeon GPUs
applies to mesa-17.3.0 and its release candidates
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel