CUDA system information and NVIDIA Management Library (NVML)#

Note

cuda.core.system support requires cuda_bindings 12.9.6 or later, or 13.2.0 or later.

Basic functions#

get_user_mode_driver_version()

Get the user-mode (UMD / CUDA) driver version.

get_kernel_mode_driver_version()

Get the kernel-mode (KMD / GPU) driver version, e.g. 580.65.06.

get_driver_branch()

Retrieves the driver branch of the NVIDIA driver installed on the system.

get_num_devices()

Return the number of devices in the system.

get_nvml_version()

The version of the NVML library.

get_process_name(int pid)

The name of process with given PID.

get_topology_common_ancestor(Device device1, ...)

Retrieve the common ancestor for two devices.

get_p2p_status(Device device1, ...)

Retrieve the P2P status between two devices.

Events#

register_events(events)

Starts recording of events on test system.

Types#

Device(int index, *, uuid, pci_bus_id)

Representation of a device.

NvlinkInfo(Device device, int link)

Nvlink information for a device.