From 3f729e23aca4dc768fa57676c33c6601c03deeca Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Mon, 2 Aug 2021 15:23:30 -0500 Subject: [PATCH] provide support for cuda enhanced compatibility (#8924) This PR provides support for cuda enhanced compatibility. With cuda enhanced compatibitlity any code compiled with 11.x version of cuda can now run on any driver >= 450.80.02. 11000 is the minimum cuda version 450.80.02 supports. Url: https://github.com/rapidsai/cudf/pull/8924 --- python/cudf/cudf/utils/gpu_utils.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/python/cudf/cudf/utils/gpu_utils.py b/python/cudf/cudf/utils/gpu_utils.py index 4bd19720151..77963f8bcc1 100644 --- a/python/cudf/cudf/utils/gpu_utils.py +++ b/python/cudf/cudf/utils/gpu_utils.py @@ -139,6 +139,15 @@ def _try_get_old_or_new_symbols(): # CUDA Driver Version Check: # Driver Runtime version is >= Runtime version pass + elif ( + cuda_driver_supported_rt_version >= 11000 + and cuda_runtime_version >= 11000 + ): + # With cuda enhanced compatibitlity any code compiled + # with 11.x version of cuda can now run on any + # driver >= 450.80.02. 11000 is the minimum cuda + # version 450.80.02 supports. + pass else: from cudf.errors import UnSupportedCUDAError