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

fix(opencl): check all platforms for GPU devices #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

servusdei2018
Copy link

Fixes #33.

Previously, search_with_gpu only checked the default platform for a GPU, which could result in false negatives if the default platform was unsupported or did not have a GPU, even when another platform did.

This update fixes search_with_gpu and gpus_available to iterate through all platforms, selecting the first GPU device found on a supported platform.

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.

how to debug why lucky_commit won't use my gpu
1 participant