Cuda agnostic compilation #6272
-
Hello, I have several Cuda versions (9.1, 10.0, 10.1, 10.2 and 11.0) and I would like to know if I must compile one UCX per Cuda or if I can have only one? Needed area seems really strict:
Is it possible to link with Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@bureddy maybe you can answer this ? thanks ! |
Beta Was this translation helpful? Give feedback.
-
@adrien-cotte different cuda runtimes are not compatible with each other. things can go wrong by linking libcudart.so to a specific version. but you can have multiple cuda runtimes in the environment at the same time as long as the driver version is compatible (see below for compatibility matrix)
https://docs.nvidia.com/deploy/cuda-compatibility/index.html#binary-compatibility |
Beta Was this translation helpful? Give feedback.
@adrien-cotte different cuda runtimes are not compatible with each other. things can go wrong by linking libcudart.so to a specific version. but you can have multiple cuda runtimes in the environment at the same time as long as the driver version is compatible (see below for compatibility matrix)
So, you can build one version of the UCX based on your driver version