Skip to content

Commit 0d7c8f8

Browse files
committed
Clarify DriverCudaVersion docstring terminology.
Spell out that `cuDriverGetVersion()` reports the CUDA-facing user-mode driver (UMD) version rather than the kernel-mode driver (KMD) package version so the `nvidia-smi` comparison is less ambiguous. Made-with: Cursor
1 parent 76c8b41 commit 0d7c8f8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cuda_pathfinder/cuda/pathfinder/_utils/driver_info.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ class DriverCudaVersion:
2525
2626
The name ``DriverCudaVersion`` is intentionally specific: this dataclass
2727
models the version shown as ``CUDA Version`` in ``nvidia-smi``, not the
28-
graphics driver release shown as ``Driver Version``.
28+
graphics driver release shown as ``Driver Version``. More specifically,
29+
it reflects the CUDA user-mode driver (UMD) interface version reported by
30+
``cuDriverGetVersion()``, not the kernel-mode driver (KMD) package
31+
version.
2932
3033
Example ``nvidia-smi`` output::
3134

0 commit comments

Comments
 (0)