We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a06d6f commit b779d0dCopy full SHA for b779d0d
2 files changed
cuda_bindings/build_hooks.py
@@ -41,7 +41,9 @@ def _import_get_cuda_path_or_home():
41
"""
42
try:
43
import cuda.pathfinder
44
- except ModuleNotFoundError:
+ except ModuleNotFoundError as exc:
45
+ if exc.name != "cuda.pathfinder":
46
+ raise
47
import cuda
48
49
for p in sys.path:
cuda_core/build_hooks.py
@@ -36,7 +36,9 @@ def _import_get_cuda_path_or_home():
36
37
38
39
40
0 commit comments