Skip to content

Commit 8864bcc

Browse files
committed
docs(pathfinder): refine canary and Windows search wording
1 parent a8516a8 commit 8864bcc

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎cuda_pathfinder/cuda/pathfinder/_dynamic_libs/load_nvidia_dynamic_lib.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

‎cuda_pathfinder/docs/source/release/1.9.0-notes.rst‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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>`_)

0 commit comments

Comments
 (0)