Commit ebabd2a
authored
Merge pull request #310 from nixprime/main
Do not discard container flags when --cuda-compat-mode is not specified
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.1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
0 commit comments