Skip to content

Commit 5a835d7

Browse files
committed
Expand the 3. **System Installations** section with information produced by perplexity
1 parent 92e7b42 commit 5a835d7

File tree

1 file changed

+10
-3
lines changed
  • cuda_bindings/cuda/bindings/_path_finder

1 file changed

+10
-3
lines changed

cuda_bindings/cuda/bindings/_path_finder/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,16 @@ strategy for locating NVIDIA shared libraries:
3131
- Leverages Conda-specific paths through our fork of `get_cuda_paths()` from Numba.
3232

3333
3. **System Installations**
34-
- Checks traditional system locations via the same `get_cuda_paths()` implementation.
35-
— Note that `get_cuda_paths()` references `CUDA_HOME` and `CUDA_PATH`. The existing
36-
mechanism are used as-is (see Implementation Philosophy below).
34+
- Checks traditional system locations through these paths:
35+
- Linux: `/usr/local/cuda/lib64`
36+
- Windows: `C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\vX.Y\bin`
37+
(where X.Y is the CTK version)
38+
- **Notably does NOT search**:
39+
- Versioned CUDA directories like `/usr/local/cuda-12.3`
40+
- Distribution-specific packages (RPM/DEB)
41+
EXCEPT Debian's `nvidia-cuda-toolkit`
42+
- Relies on `CUDA_HOME`/`CUDA_PATH` environment variables if set, but falls
43+
back to hardcoded paths when unset
3744

3845
4. **OS Default Mechanisms**
3946
- Falls back to native loader:

0 commit comments

Comments
 (0)