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

Get number of available devices #185

Closed
alexander-g opened this issue Mar 12, 2021 · 0 comments · Fixed by #195
Closed

Get number of available devices #185

alexander-g opened this issue Mar 12, 2021 · 0 comments · Fixed by #195

Comments

@alexander-g
Copy link
Contributor

For serious applications one needs to know if and how many devices are available on the system. Currently there is no built-in method to find this out.
Even worse, a segfault is issued when trying to create a Manager for a non-existing device index. This makes it impossible to enumerate devices in a loop.

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 a pull request may close this issue.

1 participant