File tree Expand file tree Collapse file tree
cuda_bindings/cuda/bindings/_path_finder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,14 +24,10 @@ strategy for locating NVIDIA shared libraries:
2424 The absolute path of the already loaded library will be returned, along
2525 with the handle to the library.
2626
27- 1 . ** Environment variables**
28- - Relies on ` CUDA_HOME ` or ` CUDA_PATH ` environment variables if set
29- (in that order).
30-
31- 2 . ** NVIDIA Python wheels**
27+ 1 . ** NVIDIA Python wheels**
3228 - Scans all site-packages to find libraries installed via NVIDIA Python wheels.
3329
34- 3 . ** OS default mechanisms / Conda environments**
30+ 2 . ** OS default mechanisms / Conda environments**
3531 - Falls back to native loader:
3632 - ` dlopen() ` on Linux
3733 - ` LoadLibraryW() ` on Windows
@@ -42,6 +38,10 @@ strategy for locating NVIDIA shared libraries:
4238 - Linux: Via ` $ORIGIN/../lib ` on ` RPATH ` (of the ` python ` binary)
4339 - Windows: Via ` %CONDA_PREFIX%\Library\bin ` on system ` PATH `
4440
41+ 3 . ** Environment variables**
42+ - Relies on ` CUDA_HOME ` or ` CUDA_PATH ` environment variables if set
43+ (in that order).
44+
4545Note that the search is done on a per-library basis. There is no centralized
4646mechanism that ensures all libraries are found in the same way.
4747
You can’t perform that action at this time.
0 commit comments