Function nvapi_hi::sys::driverapi::NvAPI_GPU_GetMemoryInfo [] [src]

pub unsafe fn NvAPI_GPU_GetMemoryInfo(
    hPhysicalGpu: NvPhysicalGpuHandle,
    pMemoryInfo: *mut NV_DISPLAY_DRIVER_MEMORY_INFO_V3
) -> i32

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).