NVML API Reference Guide#

The NVIDIA Management Library (NVML) is a C-based API for monitoring and managing NVIDIA GPUs. Applications can use NVML to query GPU state, utilization, memory, temperature, power, clocks, topology, processes, and events, and to perform supported management operations.

NVML is intended for developers building GPU monitoring, diagnostics, resource management, and administration tools. It is thread-safe and provides the underlying functionality for the NVIDIA System Management Interface (nvidia-smi). Use this guide to find platform and library information, API functions and data structures, known issues, release changes, and deprecation notices.