Function nvapi_sys::driverapi::NvAPI_GPU_GetMemoryInfo [] [src]

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

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