Skip to content

Commit d539b43

Browse files
committed
Address review comment #604 (comment) by at-kkraus14
1 parent 048e689 commit d539b43

File tree

1 file changed

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

1 file changed

+4
-3
lines changed

cuda_bindings/cuda/bindings/_path_finder/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ strategy for locating NVIDIA shared libraries:
3131
- Falls back to native loader:
3232
- `dlopen()` on Linux
3333
- `LoadLibraryW()` on Windows
34+
- Conda installations are expected to be discovered:
35+
- Linux: Via `$ORIGIN/../lib` on `RPATH` (of the `python` binary;
36+
note that this preempts `LD_LIBRARY_PATH` and `/etc/ld.so.conf.d/`)
37+
- Windows: Via `%CONDA_PREFIX%\Library\bin` on system `PATH`
3438
- CTK installations with system config updates are expected to be discovered:
3539
- Linux: Via `/etc/ld.so.conf.d/*cuda*.conf`
3640
- Windows: Via `C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\vX.Y\bin` on system `PATH`
37-
- Conda installations are expected to be discovered:
38-
- Linux: Via `$ORIGIN/../lib` on `RPATH` (of the `python` binary)
39-
- Windows: Via `%CONDA_PREFIX%\Library\bin` on system `PATH`
4041

4142
3. **Environment variables**
4243
- Relies on `CUDA_HOME` or `CUDA_PATH` environment variables if set

0 commit comments

Comments
 (0)