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

gpu NewComputeDevice specifies maximal memory limits, building on DefaultLimits(), which may not work on limited hardware.. #1362

Open
rcoreilly opened this issue Dec 7, 2024 · 0 comments
Labels
bug Something isn't working correctly confirmed This bug has been confirmed

Comments

@rcoreilly
Copy link
Member

Describe the bug

If we end up wondering why compute is failing (randomly) to create a new device, this is probably the reason. This is what happened with the windows UTM virtual machine on arm64, and not specifying limits fixed the issue there. Here's the docs on various downlevel versions of limits, which apparently are needed on "downlevel" hardware. https://docs.rs/wgpu/latest/wgpu/struct.Limits.html

How to reproduce

Just a reminder so we don't forget..

Example code

No response

Relevant output

No response

Platform

macOS

@rcoreilly rcoreilly added the bug Something isn't working correctly label Dec 7, 2024
@github-project-automation github-project-automation bot moved this to Todo in Bugs Dec 7, 2024
@kkoreilly kkoreilly added the confirmed This bug has been confirmed label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly confirmed This bug has been confirmed
Projects
Status: Todo
Development

No branches or pull requests

2 participants