-
-
Notifications
You must be signed in to change notification settings - Fork 983
Open
Labels
Milestone
Description
In runtime we rely on several aspects of CTK and their discovery strategy is a bit cluttered:
- CTK shared libraries
- Fully rely on
cuda-pathfinder's documented search order, after this PR get merged- CTK headers
$DISCOVERED_CUDA_PATH/include- NVIDIA Pip packages:
/path/to/site-packages/nvidia/cuda_runtime/include(for CUDA 12) or/path/to/site-packages/nvidia/cuda/cu13/include(for CUDA 13)- NVCC
$NVCCenv var$DISCOVERED_CUDA_PATH/bin/nvcc- OS default strategy (
$PATH)For CTK headers I think it's better to migrate to
cuda.pathfinder.find_nvidia_header_directoryat some point.
Originally posted by @kmaehashi in #9444 (comment)
kmaehashi