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

ensure cpu is always an available device #42

Merged
merged 2 commits into from
Nov 4, 2023
Merged

Conversation

kaczmarj
Copy link
Collaborator

@kaczmarj kaczmarj commented Nov 3, 2023

engine.getDevices() lists either GPU devices or a single CPU device (if GPU is not available). this change ensures CPU is listed as well.

fixes #41

kaczmarj and others added 2 commits November 3, 2023 14:09
`engine.getDevices()` lists either GPU devices or a single CPU device (if GPU is not available). this change ensures CPU is listed as well.
@kaczmarj kaczmarj merged commit 281c08b into main Nov 4, 2023
1 check passed
@kaczmarj kaczmarj deleted the ensure-cpu-listed branch November 4, 2023 17:02
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.

extension not using GPU (but deep java library example is using GPU)
2 participants