File tree Expand file tree Collapse file tree
cuda/pathfinder/_dynamic_libs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -289,9 +289,9 @@ def load_nvidia_dynamic_lib(libname: str) -> LoadedDL:
289289 6. **CTK root canary probe (discoverable libs only)**
290290
291291 - For selected libraries whose shared object doesn't reside on the
292- standard linker path (currently ``nvvm``), attempt to derive CTK
293- root by system-loading a well-known CTK canary library in a
294- subprocess and then searching relative to that root. On Windows,
292+ standard linker path (such as ``nvvm`` and ``cupti`` ), attempt to
293+ derive CTK root by system-loading a well-known CTK canary library
294+ in a subprocess and then searching relative to that root. On Windows,
295295 the canary uses the same native ``LoadLibraryExW(..., 0)``
296296 semantics as step 3, so it can discover libraries through
297297 ``PATH`` subject to the child process's DLL search policy.
Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ Documentation
3838-------------
3939
4040* Correct the Windows DLL search documentation: native system search normally
41- includes ``PATH ``, subject to process DLL search policy. ``CUDA_PATH `` and
42- ``CUDA_HOME `` remain fallback discovery roots, not runtime toolkit selectors.
43- Loading behavior and search order are unchanged.
41+ includes ``PATH ``, subject to process DLL search policy
42+ (`packaged applications have a different default DLL search order
43+ <https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order#search-order-for-packaged-apps> `_).
44+ ``CUDA_PATH `` and ``CUDA_HOME `` remain fallback discovery roots, not runtime
45+ toolkit selectors. Loading behavior and search order are unchanged.
4446 (`Issue #3137 <https://github.com/NVIDIA/cuda-python/issues/3137 >`_)
You can’t perform that action at this time.
0 commit comments