Skip to content

Conversation

@kab163
Copy link
Collaborator

@kab163 kab163 commented Dec 19, 2025

I'm so awesome I did this all by myself

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes dead code from the CudaAdviseOperation::apply method by eliminating an unused current_device variable and its associated cudaGetDevice call with error handling. The removed code was only present in the CUDA Runtime version 13.0+ code path and had no effect on functionality since the variable was never used.

Key Changes

  • Removed unused current_device variable declaration
  • Removed cudaGetDevice call and its error handling that populated the unused variable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kab163 kab163 merged commit ac034c7 into develop Dec 19, 2025
33 of 34 checks passed
@kab163 kab163 deleted the kab163/codex-test-unused-code branch December 19, 2025 17:56
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.

3 participants