Files
Yulia Baturina 4e6788540e Add the separate env var to select a custom user mode driver version to match it with KMD version installed on the execution machine.
The version of the User Mode Driver is controlled by the environment variable `HERMETIC_CUDA_UMD_VERSION`. If it is not set, the version of the User Mode Driver will be the same as specified in `HERMETIC_CUDA_VERSION`.

1) The flag `--@cuda_driver//:enable_forward_compatibility` is renamed to `--@cuda_driver//:include_cuda_umd_libs`. The default value is flipped from false to true.

2) Selection of the hermetic user mode driver should depend on the kernel mode driver installed on the execution machine. User mode driver shouldn't be older than kernel mode driver. Hence, there must be an option to choose hermetic user mode driver version separately from the CUDA runtime version.

PiperOrigin-RevId: 829187396
2025-11-06 18:15:11 -08:00
..