NvAPI_GPU_GetMemoryInfo

Function NvAPI_GPU_GetMemoryInfo 

Source
pub unsafe fn NvAPI_GPU_GetMemoryInfo(
    hPhysicalGpu: NvPhysicalGpuHandle,
    pMemoryInfo: *mut NV_DISPLAY_DRIVER_MEMORY_INFO,
) -> NvAPI_Status
Expand description

This function retrieves the available driver memory footprint for the specified GPU. If the GPU is in TCC Mode, only dedicatedVideoMemory will be returned in pMemoryInfo (NV_DISPLAY_DRIVER_MEMORY_INFO).