Skip to content

Conversation

nixprime
Copy link
Contributor

@nixprime nixprime commented May 16, 2025

In the case where no cuda-compat-mode was specified on the nvidia-container-cli configure commandline, the calculated set of flags were being CLEARED instead of setting a single bit.

This change ensures that the correct bit is set and the remaining bits are left unchanged.

This was not affecting the nvidia-container-runtime-hook's usage of the nvidia-container-cli since we explicitly add flags in that case.

Fixes:

Signed-off-by: Jamie Liu <jamieliu@google.com>
Copy link
Member

@elezar elezar left a comment

Choose a reason for hiding this comment

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

Thanks @nixprime.

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.

2 participants