We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3252bf8 commit afc92fbCopy full SHA for afc92fb
rapids_build_backend/impls.py
@@ -68,7 +68,7 @@ def _get_cuda_version(require_cuda=False):
68
match = re.search(r"release (\d+)\.(\d+)", output_lines[3])
69
if match is None:
70
raise ValueError("Failed to parse CUDA version from nvcc output.")
71
- return match.group(1), match.group(2)
+ return match.groups()
72
except Exception:
73
if not require_cuda:
74
return None
0 commit comments