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

Introduce a Forward Progress guarantee option to HLSL #336

Open
AdamJMiles opened this issue Oct 11, 2024 · 1 comment
Open

Introduce a Forward Progress guarantee option to HLSL #336

AdamJMiles opened this issue Oct 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@AdamJMiles
Copy link
Member

Hi,

Many algorithms, particularly those involving spin-locks or producer-consumer style algorithms implicitly require a forward progress guarantee. Shaders have been shipped that rely on forward progress already and are simply 'getting lucky' that this seems to work even without such a guarantee.

APIs such as CUDA have a forward progress guarantee and other non-NVIDIA hardware has the ability to run in such a mode as well. I believe this should be an optional feature that a shader can request via an entry point attribute.

Not having such a guarantee both deters inventive algorithms being deployed on D3D12 and runs the risk of them being shipped and used in an ecosystem that may not be capable of executing them safely.

Thanks,

Adam

@devshgraphicsprogramming

Suggestion, change title from to HLSL to to SM 7.0

@damyanp damyanp added this to the Shader Model Backlog milestone Oct 16, 2024
@damyanp damyanp moved this to Triaged in HLSL Triage Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Triaged
Development

No branches or pull requests

3 participants