File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
cuda_bindings/cuda/bindings/_path_finder Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,10 @@ strategy for locating NVIDIA shared libraries:
24
24
The absolute path of the already loaded library will be returned, along
25
25
with the handle to the library.
26
26
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**
32
28
- Scans all site-packages to find libraries installed via NVIDIA Python wheels.
33
29
34
- 3 . ** OS default mechanisms / Conda environments**
30
+ 2 . ** OS default mechanisms / Conda environments**
35
31
- Falls back to native loader:
36
32
- ` dlopen() ` on Linux
37
33
- ` LoadLibraryW() ` on Windows
@@ -42,6 +38,10 @@ strategy for locating NVIDIA shared libraries:
42
38
- Linux: Via ` $ORIGIN/../lib ` on ` RPATH ` (of the ` python ` binary)
43
39
- Windows: Via ` %CONDA_PREFIX%\Library\bin ` on system ` PATH `
44
40
41
+ 3 . ** Environment variables**
42
+ - Relies on ` CUDA_HOME ` or ` CUDA_PATH ` environment variables if set
43
+ (in that order).
44
+
45
45
Note that the search is done on a per-library basis. There is no centralized
46
46
mechanism that ensures all libraries are found in the same way.
47
47
You can’t perform that action at this time.
0 commit comments