NVML API Reference Guide (PDF) - vR515 (older) - Last updated May 4, 2022 - Send Feedback

3.27. nvmlProcessInfo_t Struct Reference

[Device Structs]

Information about running compute processes on the GPU Version 2 adds versioning for the struct and the conf compute protected memory in output.

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) - vR515 (older) - Last updated May 4, 2022 - Send Feedback