NVML API Reference Guide (PDF) - vR470 (older) - Last updated July 29, 2021 - Send Feedback

3.22. nvmlProcessInfo_t Struct Reference

[Device Structs]

Information about running compute processes on the GPU

Public Variables

unsigned int  computeInstanceId
If MIG is enabled, stores a valid compute instance ID. computeInstanceId is set to.
unsigned int  gpuInstanceId
If MIG is enabled, stores a valid GPU instance ID. gpuInstanceId is set to.
unsigned int  pid
Process ID.
unsigned long long  usedGpuMemory

Variables

unsigned int nvmlProcessInfo_t::computeInstanceId [inherited]

If MIG is enabled, stores a valid compute instance ID. computeInstanceId is set to.

unsigned int nvmlProcessInfo_t::gpuInstanceId [inherited]

If MIG is enabled, stores a valid GPU instance ID. gpuInstanceId is set to.

unsigned int nvmlProcessInfo_t::pid [inherited]

Process ID.

unsigned long long nvmlProcessInfo_t::usedGpuMemory [inherited]

Amount of used GPU memory in bytes. Under WDDM, NVML_VALUE_NOT_AVAILABLE is always reported because Windows KMD manages all the memory and not the NVIDIA driver


NVML API Reference Guide (PDF) - vR470 (older) - Last updated July 29, 2021 - Send Feedback