-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[vulkan] Use TI_VISIBLE_DEVICE to select vulkan device #4255
Conversation
✔️ Deploy Preview for docsite-preview ready! 🔨 Explore the source changes: 4a9a7a0 🔍 Inspect the deploy log: https://app.netlify.com/sites/docsite-preview/deploys/6204be92538aeb000784d5e8 😎 Browse the preview: https://deploy-preview-4255--docsite-preview.netlify.app |
/format |
/format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry this might be a dumb question, how do I list all my vulkan devices before setting? ;)
legitimate question! |
Should probably rename to |
I suggest to remove the specific mentioning of |
this is the intention, same switch could be used for other APIs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add an env var option
TI_VISIBLE_DEVICE
to enable user selected vulkan device. The identifier is device id, can be obtained by queryingvulkaninfo
.