Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase Maximum Groupshared Memory Size #69

Open
AquaGeneral opened this issue Jun 30, 2021 · 0 comments
Open

Increase Maximum Groupshared Memory Size #69

AquaGeneral opened this issue Jun 30, 2021 · 0 comments
Labels
Requires Shader Model Feature requests that require DXIL and Shader Model updates

Comments

@AquaGeneral
Copy link

Both Vulkan and OpenGL support up to 65536 bytes of groupshared memory. And Vulkan even more commonly supports up to 49152 bytes of groupshared memory (even when taking into acount integrated graphics cards in the stats).

I personally would be happy with a new 49152 byte limit, but ideally it should be the maximum the hardware supports. For example, NVIDIA GPUs support up to 164KB of groupshared memory (albeit with stealing a certain portion of the unified data cache).

I know that DirectX very much wants to only make changes when all hardware supports a feature (in most cases), but I want to argue the following: there is inherent value in letting developers make vendor specific shader permutations which negates most of the compatiblity factor (they're dealing with all that themselves). Developers should be able to make specific microarchitecture/vendor-specific optimisations regardless. Bear in mind DirectX did for example support tensor cores and RT cores back meanwhile; only NVIDIA had this in hardware.

@llvm-beanz llvm-beanz transferred this issue from microsoft/DirectXShaderCompiler Jul 14, 2023
@llvm-beanz llvm-beanz added Requires Shader Model Feature requests that require DXIL and Shader Model updates and removed needs-triage labels Jul 14, 2023
@llvm-beanz llvm-beanz moved this to Done in HLSL Triage Jul 14, 2023
@llvm-beanz llvm-beanz removed the status in HLSL Triage Aug 6, 2024
@llvm-beanz llvm-beanz added this to the Shader Model Backlog milestone Aug 6, 2024
@llvm-beanz llvm-beanz moved this to Triaged in HLSL Triage Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Requires Shader Model Feature requests that require DXIL and Shader Model updates
Projects
Status: Triaged
Development

No branches or pull requests

2 participants