cuda.bindings.nvml.gpu_instance_get_vgpu_scheduler_log#

cuda.bindings.nvml.gpu_instance_get_vgpu_scheduler_log(intptr_t gpu_instance)#
Returns the vGPU scheduler logs for the given GPU instance. ``pSchedulerLogInfo`` points to a caller-allocated structure to contain the logs. The number of elements returned will never exceed ``NVML_SCHEDULER_SW_MAX_LOG_ENTRIES``.

:param gpu_instance: The GPU instance handle.
:type gpu_instance: intptr_t

:returns: Reference in which ``pSchedulerLogInfo`` is written.
:rtype: nvmlVgpuSchedulerLogInfo_v1_t

.. seealso:: `nvmlGpuInstanceGetVgpuSchedulerLog`