Skip to content

Commit 0ab6939

Browse files
small fixes
1 parent 03cddf2 commit 0ab6939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numba_cuda/numba/cuda/cuda_paths.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,11 +523,11 @@ def _get_nvvm():
523523
except pathfinder.DynamicLibNotFoundError:
524524
nvrtc = _get_nvrtc()
525525
path = pathlib.Path(nvrtc.abs_path)
526-
nvvm = path.parents[1] / "nvvm" / "lib64" / "libnvvm.so"
526+
nvvm = path.parents[3] / "nvvm" / "lib64" / "libnvvm.so"
527527

528528
if nvvm.exists():
529529
dl = pathfinder._dynamic_libs.load_nvidia_dynamic_lib.load_with_abs_path(
530-
"nvvm", path, "system-search"
530+
"nvvm", nvvm, "system-search"
531531
)
532532
return dl
533533
else:

0 commit comments

Comments
 (0)