cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

[FEA]: Make `pathfinder` usable as a full replacement for `cuda_paths.py` in `numba-cuda`

Open rwgk opened this issue 4 months ago • 4 comments

Support for locating these needs to be added:

rwgk-win11.localdomain:/usr/local/cuda-13.0 $ find . -name libdevice.10.bc -o -name nvdisasm -o -name cuobjdump -o -name libcudadevrt.a
./nvvm/libdevice/libdevice.10.bc
./targets/x86_64-linux/lib/libcudadevrt.a
./bin/cuobjdump
./bin/nvdisasm
rwgk-win11.localdomain:/usr/local/cuda-12.9 $ find . -name libdevice.10.bc -o -name nvdisasm -o -name cuobjdump -o -name libcudadevrt.a
./nvvm/libdevice/libdevice.10.bc
./targets/x86_64-linux/lib/libcudadevrt.a
./bin/cuobjdump
./bin/nvdisasm

Sub-issues: #762, #716

Also needed most likely: #759 — Support LoadedDL.from_distribution

This is what we want to replace:

https://github.com/NVIDIA/numba-cuda/blob/main/numba_cuda/numba/cuda/cuda_paths.py (URL for later when it is gone)

xref: https://github.com/NVIDIA/numba-cuda/issues/302

xref: https://github.com/NVIDIA/numba-cuda/pull/308 — very closely related (to this issue) exploratory work by @brandon-b-miller

rwgk avatar Sep 26 '25 19:09 rwgk