Skip to content

Commit

Permalink
Update hermetic CUDA docs.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 689463215
  • Loading branch information
Google-ML-Automation committed Oct 24, 2024
1 parent 1f6bd97 commit eb3a2b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/hermetic_cuda.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ is specified in [third_party/gpus/cuda/hermetic/cuda_redist_versions.bzl](https:
test:cuda --@cuda_driver//:enable_forward_compatibility=true
```

The default flag value is `false`.

When CUDA forward compatibility mode is disabled, Bazel targets will use User
Mode and Kernel Mode Drivers pre-installed on the system.

When CUDA forward compatibility mode is enabled, Bazel targets will use User
Mode Driver from CUDA driver redistribution downloaded into Bazel cache and
Kernel Mode Driver pre-installed on the system. It allows enabling new CUDA
Toolkit features while using older Kernel Mode Driver.

Forward compatibility mode should be enforced only when it is appropriate -
see [NVIDIA documentation](https://docs.nvidia.com/deploy/cuda-compatibility/index.html#forward-compatibility-support-across-major-toolkit-versions) for the
details.
Expand Down

0 comments on commit eb3a2b6

Please sign in to comment.