Skip to content

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

@rwgk

Description

@rwgk

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: NVIDIA/numba-cuda#302

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

Sub-issues

Metadata

Metadata

Assignees

Labels

cuda.pathfinderEverything related to the cuda.pathfinder module

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions