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 divide_zero error for no cuda device case #4

Merged
merged 1 commit into from
Jul 15, 2022
Merged

fix divide_zero error for no cuda device case #4

merged 1 commit into from
Jul 15, 2022

Conversation

Ting-Bao
Copy link
Contributor

fix divide_zero error for no cuda device case:
When no cuda device is available, the num_of_threads will be set to cpu_count instead of cpu_count//cuda_count

fix divide_zero error for no cuda device case:
When no cuda device is available, the num_of_threads will be set to cpu_count instead of cpu_count//cuda_count
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