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

Also consider devices of type Other when trying to find the best device. #875

Merged

Conversation

christophebiocca
Copy link
Contributor

@christophebiocca christophebiocca commented Oct 17, 2023

Pull Request Template

Checklist

  • Confirm that run-checks script has been executed.

./run-checks.sh all, if that makes any difference. It gets errors due to bad tolerances, but they're identical to those on main.

Related Issues/PRs

Meant to fix issue reported in discord: https://discord.com/channels/1038839012602941528/1059209073784008835/1163541031086723162

Changes

WgpuDevice::BestAvailable fails if there is a device of type Other available and nothing else, as it doesn't consider them.

Testing

Not tested beyond run-checks. Would probably need some kind of mocking? Would like guidance on how to test this change.

@christophebiocca
Copy link
Contributor Author

Fixed formatting.

@nathanielsimard nathanielsimard merged commit 3eb7f38 into tracel-ai:main Oct 19, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants