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

feat: log errors from cudaGetDeviceCount (PROOF-924) #209

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Conversation

rnburn
Copy link
Collaborator

@rnburn rnburn commented Dec 16, 2024

Rationale for this change

Log errors from cudaGetDeviceCount to make it easier to track down any issues if the gpu backend fails to initialize.

What changes are included in this PR?

  • Adds logging for the result of cudaGetDeviceCount.
  • Adds function for logging at the error level.

Are these changes tested?

Nothing specific for the new code since it would require trigger a failure for cudaGetDeviceCount, but risk of the new code should be minimal.

@rnburn rnburn changed the title featL log errors from cudaGetDeviceCount (PROOF-924) feat: log errors from cudaGetDeviceCount (PROOF-924) Dec 16, 2024
@rnburn rnburn merged commit af4bf60 into main Jan 6, 2025
8 checks passed
@rnburn rnburn deleted the lg-PROOF-924 branch January 6, 2025 17:17
@SxT-Release
Copy link

🎉 This PR is included in version 1.93.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants