File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cuda_bindings/cuda/bindings/_path_finder Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,19 +103,19 @@ def check_if_already_loaded_from_elsewhere(libname: str) -> Optional[LoadedDL]:
103
103
return None
104
104
105
105
106
- def load_with_system_search (name : str , _unused : str ) -> Optional [LoadedDL ]:
106
+ def load_with_system_search (libname : str , _unused : str ) -> Optional [LoadedDL ]:
107
107
"""Try to load a DLL using system search paths.
108
108
109
109
Args:
110
- name : The name of the library to load
110
+ libname : The name of the library to load
111
111
_unused: Unused parameter (kept for interface consistency)
112
112
113
113
Returns:
114
114
A LoadedDL object if successful, None if the library cannot be loaded
115
115
"""
116
116
from .supported_libs import SUPPORTED_WINDOWS_DLLS
117
117
118
- dll_names = SUPPORTED_WINDOWS_DLLS .get (name )
118
+ dll_names = SUPPORTED_WINDOWS_DLLS .get (libname )
119
119
if dll_names is None :
120
120
return None
121
121
You can’t perform that action at this time.
0 commit comments