nvml#

The cuda.bindings.nvml Python module wraps the NVIDIA Management Library (NVML) APIs.

Functions#

compute_instance_destroy(...)

Destroy compute instance.

compute_instance_get_info_v2(...)

Get compute instance information.

device_clear_accounting_pids(intptr_t device)

Clears accounting information about all processes that have already terminated.

device_clear_cpu_affinity(intptr_t device)

Clear all affinity bindings for the calling thread.

device_clear_ecc_error_counts(...)

Clear the ECC error and other memory error counts for the device.

device_clear_field_values(intptr_t device, ...)

Clear values for a list of fields for a device.

device_create_gpu_instance(intptr_t device, ...)

Create GPU instance.

device_create_gpu_instance_with_placement(...)

Create GPU instance with the specified placement.

device_discover_gpus(intptr_t pci_info)

Request the OS and the NVIDIA kernel driver to rediscover a portion of the PCI subsystem looking for GPUs that were previously removed.

device_get_accounting_buffer_size(...)

Returns the number of processes that the circular buffer with accounting pids can hold.

device_get_accounting_mode(intptr_t device)

Queries the state of per process accounting mode.

device_get_accounting_pids(intptr_t device)

Queries list of processes that can be queried for accounting stats.

device_get_accounting_stats(intptr_t device, ...)

Queries process's accounting stats.

device_get_active_vgpus(intptr_t device)

Retrieve the active vGPU instances on a device.

device_get_adaptive_clock_info_status(...)

Gets the device's Adaptive Clock status.

device_get_addressing_mode(intptr_t device)

Get the addressing mode for a given GPU.

device_get_api_restriction(intptr_t device, ...)

Retrieves the root/admin permissions on the target API.

device_get_architecture(intptr_t device)

Get architecture for device.

device_get_attributes_v2(intptr_t device)

Get attributes (engine counts etc.) for the given NVML device handle.

device_get_auto_boosted_clocks_enabled(...)

Retrieve the current state of Auto Boosted clocks on a device and store it in isEnabled.

device_get_bar1_memory_info(intptr_t device)

Gets Total, Available and Used size of BAR1 memory.

device_get_board_id(intptr_t device)

Retrieves the device boardId from 0-N.

device_get_board_part_number(intptr_t device)

Retrieves the the device board part number which is programmed into the board's InfoROM.

device_get_brand(intptr_t device)

Retrieves the brand of this device.

device_get_bridge_chip_info(intptr_t device)

Get Bridge Chip Information for all the bridge chips on the board.

device_get_bus_type(intptr_t device)

Get the type of the GPU Bus (PCIe, PCI, ...).

device_get_c2c_mode_info_v(intptr_t device)

Retrieves the Device's C2C Mode information.

device_get_capabilities(intptr_t device)

Get device capabilities.

device_get_clk_mon_status(intptr_t device)

Retrieves the frequency monitor fault status for the device.

device_get_clock(intptr_t device, ...)

Retrieves the clock speed for the clock specified by the clock type and clock ID.

device_get_clock_info(intptr_t device, int type)

Retrieves the current clock speeds for the device.

device_get_clock_offsets(intptr_t device, ...)

Retrieve min, max and current clock offset of some clock domain for a given PState.

device_get_compute_instance_id(intptr_t device)

Get compute instance ID for the given MIG device handle.

device_get_compute_mode(intptr_t device)

Retrieves the current compute mode for the device.

device_get_compute_running_processes_v3(...)

Get information about processes with a compute context on a device.

device_get_conf_compute_gpu_attestation_report(...)

Get Conf Computing GPU attestation report.

device_get_conf_compute_gpu_certificate(...)

Get Conf Computing GPU certificate details.

device_get_conf_compute_mem_size_info(...)

Get Conf Computing Protected and Unprotected Memory Sizes.

device_get_conf_compute_protected_memory_usage(...)

Get Conf Computing protected memory usage.

device_get_cooler_info(intptr_t device)

Retrieves the cooler's information.

device_get_count_v2()

Retrieves the number of compute devices in the system.

device_get_cpu_affinity(intptr_t device, ...)

Retrieves an array of unsigned ints (sized to cpu_set_size) of bitmasks with the ideal CPU affinity for the device For example, if processors 0, 1, 32, and 33 are ideal for the device and cpu_set_size == 2, result[0] = 0x3, result[1] = 0x3 This is equivalent to calling nvmlDeviceGetCpuAffinityWithinScope with NVML_AFFINITY_SCOPE_NODE.

device_get_cpu_affinity_within_scope(...)

Retrieves an array of unsigned ints (sized to cpu_set_size) of bitmasks with the ideal CPU affinity within node or socket for the device.

device_get_creatable_vgpus(intptr_t device)

Retrieve the currently creatable vGPU types on a physical GPU (device).

device_get_cuda_compute_capability(...)

Retrieves the CUDA compute capability of the device.

device_get_curr_pcie_link_generation(...)

Retrieves the current PCIe link generation.

device_get_curr_pcie_link_width(intptr_t device)

Retrieves the current PCIe link width.

device_get_current_clock_freqs(intptr_t device)

Retrieves a string with the associated current GPU Clock and Memory Clock values.

device_get_current_clocks_event_reasons(...)

Retrieves current clocks event reasons.

device_get_decoder_utilization(intptr_t device)

Retrieves the current utilization and sampling size in microseconds for the Decoder.

device_get_default_ecc_mode(intptr_t device)

Retrieves the default ECC modes for the device.

device_get_device_handle_from_mig_device_handle(...)

Get parent device handle from a MIG device handle.

device_get_display_active(intptr_t device)

Retrieves the display active state for the device.

device_get_display_mode(intptr_t device)

Retrieves the display mode for the device.

device_get_dram_encryption_mode(intptr_t device)

Retrieves the current and pending DRAM Encryption modes for the device.

device_get_driver_model_v2(intptr_t device)

Retrieves the current and pending driver model for the device.

device_get_dynamic_pstates_info(intptr_t device)

Retrieve performance monitor samples from the associated subdevice.

device_get_ecc_mode(intptr_t device)

Retrieves the current and pending ECC modes for the device.

device_get_encoder_capacity(intptr_t device, ...)

Retrieves the current capacity of the device's encoder, as a percentage of maximum encoder capacity with valid values in the range 0-100.

device_get_encoder_sessions(intptr_t device)

Retrieves information about active encoder sessions on a target device.

device_get_encoder_stats(intptr_t device)

Retrieves the current encoder statistics for a given device.

device_get_encoder_utilization(intptr_t device)

Retrieves the current utilization and sampling size in microseconds for the Encoder.

device_get_enforced_power_limit(intptr_t device)

Get the effective power limit that the driver enforces after taking into account all limiters.

device_get_fan_control_policy_v2(...)

Gets current fan control policy.

device_get_fan_speed(intptr_t device)

Retrieves the intended operating speed of the device's fan.

device_get_fan_speed_rpm(intptr_t device, ...)

Retrieves the intended operating speed in rotations per minute (RPM) of the device's specified fan.

device_get_fan_speed_v2(intptr_t device, ...)

Retrieves the intended operating speed of the device's specified fan.

device_get_fbc_sessions(intptr_t device)

Retrieves information about active frame buffer capture sessions on a target device.

device_get_fbc_stats(intptr_t device)

Retrieves the active frame buffer capture sessions statistics for a given device.

device_get_field_values(intptr_t device, values)

Request values for a list of fields for a device.

device_get_gpc_clk_min_max_vf_offset(...)

Retrieve the GPCCLK min max VF offset value.

device_get_gpc_clk_vf_offset(intptr_t device)

Retrieve the GPCCLK VF offset value.

device_get_gpu_fabric_info_v(intptr_t device)

Versioned wrapper around nvmlDeviceGetGpuFabricInfo that accepts a versioned nvmlGpuFabricInfo_v2_t or later output structure.

device_get_gpu_instance_by_id(...)

Get GPU instances for given instance ID.

device_get_gpu_instance_id(intptr_t device)

Get GPU instance ID for the given MIG device handle.

device_get_gpu_instance_possible_placements_v2(...)

Get GPU instance placements.

device_get_gpu_instance_profile_info_by_id_v(...)

GPU instance profile query function that accepts profile ID, instead of profile name.

device_get_gpu_instance_profile_info_v(...)

Versioned wrapper around nvmlDeviceGetGpuInstanceProfileInfo that accepts a versioned nvmlGpuInstanceProfileInfo_v3_t or later output structure.

device_get_gpu_instance_remaining_capacity(...)

Get GPU instance profile capacity.

device_get_gpu_instances(intptr_t device, ...)

Get GPU instances for given profile ID.

device_get_gpu_max_pcie_link_generation(...)

Retrieves the maximum PCIe link generation supported by this device.

device_get_gpu_operation_mode(intptr_t device)

Retrieves the current GOM and pending GOM (the one that GPU will switch to after reboot).

device_get_grid_licensable_features_v4(...)

Retrieve the vGPU Software licensable features.

device_get_gsp_firmware_mode(intptr_t device)

Retrieve GSP firmware mode.

device_get_gsp_firmware_version(intptr_t device)

Retrieve GSP firmware version.

device_get_handle_by_index_v2(...)

Acquire the handle for a particular device, based on its ind_ex.

device_get_handle_by_pci_bus_id_v2(pci_bus_id)

Acquire the handle for a particular device, based on its PCI bus id.

device_get_handle_by_serial(serial)

Acquire the handle for a particular device, based on its board serial number.

device_get_handle_by_uuid(uuid)

Acquire the handle for a particular device, based on its globally unique immutable UUID (in ASCII format) associated with each device.

device_get_handle_by_uuidv(int type, bytes uuid)

Acquire the handle for a particular device, based on its globally unique immutable UUID (in either ASCII or binary format) associated with each device.

device_get_host_vgpu_mode(intptr_t device)

Queries if SR-IOV host operation is supported on a vGPU supported device.

device_get_hostname_v1(intptr_t device)

Get the hostname for the device.

device_get_index(intptr_t device)

Retrieves the NVML index of this device.

device_get_inforom_configuration_checksum(...)

Retrieves the checksum of the configuration stored in the device's infoROM.

device_get_inforom_image_version(intptr_t device)

Retrieves the global infoROM image version.

device_get_inforom_version(intptr_t device, ...)

Retrieves the version information for the device's infoROM object.

device_get_irq_num(intptr_t device)

Gets the device's interrupt number.

device_get_jpg_utilization(intptr_t device)

Retrieves the current utilization and sampling size in microseconds for the JPG.

device_get_last_bbx_flush_time(intptr_t device)

Retrieves the timestamp and the duration of the last flush of the BBX (blackbox) infoROM object during the current run.

device_get_margin_temperature(intptr_t device)

Retrieves the thermal margin temperature (distance to nearest slowdown threshold).

device_get_max_clock_info(intptr_t device, ...)

Retrieves the maximum clock speeds for the device.

device_get_max_customer_boost_clock(...)

Retrieves the customer defined maximum boost clock speed specified by the given clock type.

device_get_max_mig_device_count(intptr_t device)

Get the maximum number of MIG devices that can exist under a given parent NVML device.

device_get_max_pcie_link_generation(...)

Retrieves the maximum PCIe link generation possible with this device and system.

device_get_max_pcie_link_width(intptr_t device)

Retrieves the maximum PCIe link width possible with this device and system.

device_get_mem_clk_min_max_vf_offset(...)

Retrieve the MemClk (Memory Clock) min max VF offset value.

device_get_mem_clk_vf_offset(intptr_t device)

Retrieve the MemClk (Memory Clock) VF offset value.

device_get_memory_affinity(intptr_t device, ...)

Retrieves an array of unsigned ints (sized to node_set_size) of bitmasks with the ideal memory affinity within node or socket for the device.

device_get_memory_bus_width(intptr_t device)

Gets the device's memory bus width.

device_get_memory_error_counter(...)

Retrieves the requested memory error counter for the device.

device_get_memory_info_v2(intptr_t device)

Retrieves the amount of used, free, reserved and total memory available on the device, in bytes.

device_get_mig_device_handle_by_index(...)

Get MIG device handle for the given ind_ex under its parent NVML device.

device_get_mig_mode(intptr_t device)

Get MIG mode for the device.

device_get_min_max_clock_of_p_state(...)

Retrieve min and max clocks of some clock domain for a given PState.

device_get_min_max_fan_speed(intptr_t device)

Retrieves the min and max fan speed that user can set for the GPU fan.

device_get_minor_number(intptr_t device)

Retrieves minor number for the device.

device_get_module_id(intptr_t device)

Get a unique identifier for the device module on the baseboard.

device_get_mps_compute_running_processes_v3(...)

Get information about processes with a Multi-Process Service (MPS) compute context on a device.

device_get_multi_gpu_board(intptr_t device)

Retrieves whether the device is on a Multi-GPU Board Devices that are on multi-GPU boards will set multiGpuBool to a non-zero value.

device_get_name(intptr_t device)

Retrieves the name of this device.

device_get_num_fans(intptr_t device)

Retrieves the number of fans on the device.

device_get_num_gpu_cores(intptr_t device)

Gets the device's core count.

device_get_numa_node_id(intptr_t device)

Get the NUMA node of the given GPU device.

device_get_nvlink_bw_mode(intptr_t device)

Get the NvLink Reduced Bandwidth Mode for the device.

device_get_nvlink_capability(...)

Retrieves the requested capability from the device's NvLink for the link specified Please refer to the nvmlNvLinkCapability_t structure for the specific caps that can be queried The return value should be treated as a boolean.

device_get_nvlink_error_counter(...)

Retrieves the specified error counter value Please refer to nvmlNvLinkErrorCounter_t for error counters that are available.

device_get_nvlink_info(intptr_t device)

Query NVLINK information associated with this device.

device_get_nvlink_remote_device_type(...)

Get the NVLink device type of the remote device connected over the given link.

device_get_nvlink_remote_pci_info_v2(...)

Retrieves the PCI information for the remote node on a NvLink link Note: pciSubSystemId is not filled in this function and is indeterminate.

device_get_nvlink_state(intptr_t device, ...)

Retrieves the state of the device's NvLink for the link specified.

device_get_nvlink_supported_bw_modes(...)

Get the supported NvLink Reduced Bandwidth Modes of the device.

device_get_nvlink_version(intptr_t device, ...)

Retrieves the version of the device's NvLink for the link specified.

device_get_ofa_utilization(intptr_t device)

Retrieves the current utilization and sampling size in microseconds for the OFA (Optical Flow Accelerator).

device_get_p2p_status(intptr_t device1, ...)

Retrieve the status for a given p2p capability index between a given pair of GPU.

device_get_pci_info_ext(intptr_t device)

Retrieves PCI attributes of this device.

device_get_pci_info_v3(intptr_t device)

Retrieves the PCI attributes of this device.

device_get_pcie_link_max_speed(intptr_t device)

Gets the device's PCIE Max Link speed in MBPS.

device_get_pcie_replay_counter(intptr_t device)

Retrieve the PCIe replay counter.

device_get_pcie_speed(intptr_t device)

Gets the device's PCIe Link speed in Mbps.

device_get_pcie_throughput(intptr_t device, ...)

Retrieve PCIe utilization information.

device_get_pdi(intptr_t device)

Retrieves the Per Device Identifier (PDI) associated with this device.

device_get_performance_modes(intptr_t device)

Retrieves a performance mode string with all the performance modes defined for this device along with their associated GPU Clock and Memory Clock values.

device_get_performance_state(intptr_t device)

Retrieves the current performance state for the device.

device_get_persistence_mode(intptr_t device)

Retrieves the persistence mode associated with this device.

device_get_pgpu_metadata_string(intptr_t device)

Returns the properties of the physical GPU indicated by the device in an ascii-encoded string format.

device_get_platform_info(intptr_t device)

Get platform information of this device.

device_get_power_management_default_limit(...)

Retrieves default power management limit on this device, in milliwatts.

device_get_power_management_limit(...)

Retrieves the power management limit associated with this device.

device_get_power_management_limit_constraints(...)

Retrieves information about possible values of power management limits on this device.

device_get_power_mizer_mode_v1(intptr_t device)

Retrieves current power mizer mode on this device.

device_get_power_source(intptr_t device)

Gets the devices power source.

device_get_power_state(intptr_t device)

Deprecated: Use nvmlDeviceGetPerformanceState.

device_get_power_usage(intptr_t device)

Retrieves power usage for this GPU in milliwatts and its associated circuitry (e.g. memory).

device_get_process_utilization(...)

Retrieves the current utilization and process ID.

device_get_processes_utilization_info(...)

Retrieves the recent utilization and process ID for all running processes

device_get_remapped_rows(intptr_t device)

Get number of remapped rows.

device_get_repair_status(intptr_t device)

Get the repair status for TPC/Channel repair.

device_get_retired_pages(intptr_t device, ...)

Returns the list of retired pages by source, including pages that are pending retirement The address information provided from this API is the hardware address of the page that was retired.

device_get_retired_pages_pending_status(...)

Check if any pages are pending retirement and need a reboot to fully retire.

device_get_retired_pages_v2(intptr_t device, ...)

Returns the list of retired pages by source, including pages that are pending retirement

device_get_row_remapper_histogram(...)

Get the row remapper histogram.

device_get_running_process_detail_list(...)

Get information about running processes on a device for input context

device_get_samples(intptr_t device, ...)

Gets recent samples for the GPU.

device_get_serial(intptr_t device)

Retrieves the globally unique board serial number associated with this device's board.

device_get_sram_ecc_error_status(intptr_t device)

Get SRAM ECC error status of this device.

device_get_sram_unique_uncorrected_ecc_error_counts(...)

Retrieves the counts of SRAM unique uncorrected ECC errors

device_get_supported_clocks_event_reasons(...)

Retrieves bitmask of supported clocks event reasons that can be returned by nvmlDeviceGetCurrentClocksEventReasons.

device_get_supported_event_types(intptr_t device)

Returns information about events supported on device.

device_get_supported_graphics_clocks(...)

Retrieves the list of possible graphics clocks that can be used as an argument for nvmlDeviceSetGpuLockedClocks.

device_get_supported_memory_clocks(...)

Retrieves the list of possible memory clocks that can be used as an argument for nvmlDeviceSetMemoryLockedClocks.

device_get_supported_performance_states(...)

Get all supported Performance States (P-States) for the device.

device_get_supported_vgpus(intptr_t device)

Retrieve the supported vGPU types on a physical GPU (device).

device_get_target_fan_speed(intptr_t device, ...)

Retrieves the intended target speed of the device's specified fan.

device_get_temperature_threshold(...)

Retrieves the temperature threshold for the GPU with the specified threshold type in degrees C.

device_get_temperature_v(intptr_t device, ...)

Retrieves the current temperature readings (in degrees C) for the given device.

device_get_thermal_settings(intptr_t device, ...)

Used to execute a list of thermal system instructions.

device_get_topology_common_ancestor(...)

Retrieve the common ancestor for two devices For all products.

device_get_topology_nearest_gpus(...)

Retrieve the set of GPUs that are nearest to a given device at a specific interconnectivity level

device_get_total_ecc_errors(intptr_t device, ...)

Retrieves the total ECC error counts for the device.

device_get_total_energy_consumption(...)

Retrieves total energy consumption for this GPU in millijoules (mJ) since the driver was last reloaded.

device_get_unrepairable_memory_flag_v1(...)

Get the unrepairable memory flag for a given GPU.

device_get_utilization_rates(intptr_t device)

Retrieves the current utilization rates for the device's major subsystems.

device_get_uuid(intptr_t device)

Retrieves the globally unique immutable UUID associated with this device, as a 5 part hexadecimal string, that augments the immutable, board serial identifier.

device_get_vbios_version(intptr_t device)

Get VBIOS version of the device.

device_get_vgpu_capabilities(...)

Retrieve the requested vGPU capability for GPU.

device_get_vgpu_heterogeneous_mode(...)

Get the vGPU heterogeneous mode for the device.

device_get_vgpu_instances_utilization_info(...)

Retrieves recent utilization for vGPU instances running on a physical GPU (device).

device_get_vgpu_metadata(intptr_t device)

Returns a vGPU metadata structure for the physical GPU indicated by device.

device_get_vgpu_process_utilization(...)

Retrieves current utilization for processes running on vGPUs on a physical GPU (device).

device_get_vgpu_processes_utilization_info(...)

Retrieves recent utilization for processes running on vGPU instances on a physical GPU (device).

device_get_vgpu_scheduler_capabilities(...)

Returns the vGPU scheduler capabilities.

device_get_vgpu_scheduler_log(intptr_t device)

Returns the vGPU Software scheduler logs.

device_get_vgpu_scheduler_state(intptr_t device)

Returns the vGPU scheduler state.

device_get_vgpu_type_creatable_placements(...)

Query the creatable vGPU placement ID of the vGPU type within a GPU instance.

device_get_vgpu_type_supported_placements(...)

Query the supported vGPU placement ID of the vGPU type.

device_get_vgpu_utilization(intptr_t device, ...)

Retrieves current utilization for vGPUs on a physical GPU (device).

device_get_virtualization_mode(intptr_t device)

This method is used to get the virtualization mode corresponding to the GPU.

device_is_mig_device_handle(intptr_t device)

Test if the given handle refers to a MIG device.

device_modify_drain_state(intptr_t pci_info, ...)

Modify the drain state of a GPU.

device_on_same_board(intptr_t device1, ...)

Check if the GPU devices are on the same physical board.

device_power_smoothing_activate_preset_profile(...)

Activiate a specific preset profile for datacenter power smoothing.

device_power_smoothing_set_state(...)

Enable or disable the Power Smoothing Feature.

device_power_smoothing_update_preset_profile_param(...)

Update the value of a specific profile parameter contained within nvmlPowerSmoothingProfile_v1_t.

device_query_drain_state(intptr_t pci_info)

Query the drain state of a GPU.

device_read_prm_counters_v1(intptr_t device, ...)

Read a list of GPU PRM Counters.

device_read_write_prm_v1(intptr_t device, ...)

Read or write a GPU PRM register.

device_register_events(intptr_t device, ...)

Starts recording of events on a specified devices and add the events to specified nvmlEventSet_t.

device_remove_gpu_v2(intptr_t pci_info, ...)

This method will remove the specified GPU from the view of both NVML and the NVIDIA kernel driver as long as no other processes are attached.

device_reset_gpu_locked_clocks(intptr_t device)

Resets the gpu clock to the default value.

device_reset_memory_locked_clocks(...)

Resets the memory clock to the default value.

device_reset_nvlink_error_counters(...)

Resets all error counters to zero Please refer to nvmlNvLinkErrorCounter_t for the list of error counters that are reset.

device_set_accounting_mode(intptr_t device, ...)

Enables or disables per process accounting.

device_set_api_restriction(intptr_t device, ...)

Changes the root/admin restructions on certain APIs.

device_set_auto_boosted_clocks_enabled(...)

Try to set the current state of Auto Boosted clocks on a device.

device_set_clock_offsets(intptr_t device, ...)

Control current clock offset of some clock domain for a given PState.

device_set_compute_mode(intptr_t device, ...)

Set the compute mode for the device.

device_set_conf_compute_unprotected_mem_size(...)

Set Conf Computing Unprotected Memory Size.

device_set_cpu_affinity(intptr_t device)

Sets the ideal affinity for the calling thread and device using the guidelines given in device_get_cpu_affinity().

device_set_default_auto_boosted_clocks_enabled(...)

Try to set the default state of Auto Boosted clocks on a device.

device_set_default_fan_speed_v2(...)

Sets the speed of the fan control policy to default.

device_set_dram_encryption_mode(...)

Set the DRAM Encryption mode for the device.

device_set_driver_model(intptr_t device, ...)

Set the driver model for the device.

device_set_ecc_mode(intptr_t device, int ecc)

Set the ECC mode for the device.

device_set_fan_control_policy(...)

Sets current fan control policy.

device_set_fan_speed_v2(intptr_t device, ...)

Sets the speed of a specified fan.

device_set_gpu_locked_clocks(...)

Set clocks that device will lock to.

device_set_gpu_operation_mode(...)

Sets new GOM.

device_set_hostname_v1(intptr_t device, ...)

Set the hostname for the device.

device_set_memory_locked_clocks(...)

Set memory clocks that device will lock to.

device_set_mig_mode(intptr_t device, ...)

Set MIG mode for the device.

device_set_nvlink_bw_mode(intptr_t device, ...)

Set the NvLink Reduced Bandwidth Mode for the device.

device_set_nvlink_device_low_power_threshold(...)

Set NvLink Low Power Threshold for device.

device_set_persistence_mode(intptr_t device, ...)

Set the persistence mode for the device.

device_set_power_management_limit_v2(...)

Set new power limit of this device.

device_set_power_mizer_mode_v1(...)

Sets the new power mizer mode.

device_set_rusd_settings_v1(intptr_t device, ...)

Set Read-only user shared data (RUSD) settings for GPU.

device_set_temperature_threshold(...)

Sets the temperature threshold for the GPU with the specified threshold type in degrees C.

device_set_vgpu_capabilities(...)

Set the desirable vGPU capability of a device.

device_set_vgpu_heterogeneous_mode(...)

Enable or disable vGPU heterogeneous mode for the device.

device_set_vgpu_scheduler_state(...)

Sets the vGPU scheduler state.

device_set_virtualization_mode(...)

This method is used to set the virtualization mode corresponding to the GPU.

device_validate_inforom(intptr_t device)

Reads the infoROM from the flash and verifies the checksums.

error_string(int result)

Helper method for converting NVML error codes into readable strings.

event_set_create()

Create an empty set of events.

event_set_free(intptr_t set)

Releases events in the set.

event_set_wait_v2(intptr_t set, ...)

Waits on events and delivers events.

get_excluded_device_count()

Retrieves the number of excluded GPU devices in the system.

get_excluded_device_info_by_index(...)

Acquire the device information for an excluded GPU device, based on its ind_ex.

get_vgpu_compatibility(...)

Takes a vGPU instance metadata structure read from vgpu_instance_get_metadata() and a vGPU metadata structure for a physical GPU read from device_get_vgpu_metadata, and returns compatibility information of the vGPU instance and the physical GPU.

get_vgpu_driver_capabilities(int capability)

Retrieve the requested vGPU driver capability.

get_vgpu_version()

Query the ranges of supported vGPU versions.

gpu_instance_create_compute_instance(...)

Create compute instance.

gpu_instance_create_compute_instance_with_placement(...)

Create compute instance with the specified placement.

gpu_instance_destroy(intptr_t gpu_instance)

Destroy GPU instance.

gpu_instance_get_active_vgpus(...)

Retrieve the active vGPU instances within a GPU instance.

gpu_instance_get_compute_instance_by_id(...)

Get compute instance for given instance ID.

gpu_instance_get_compute_instance_possible_placements(...)

Get compute instance placements.

gpu_instance_get_compute_instance_profile_info_v(...)

Versioned wrapper around nvmlGpuInstanceGetComputeInstanceProfileInfo that accepts a versioned nvmlComputeInstanceProfileInfo_v2_t or later output structure.

gpu_instance_get_compute_instance_remaining_capacity(...)

Get compute instance profile capacity.

gpu_instance_get_compute_instances(...)

Get Compute instances for given profile ID.

gpu_instance_get_creatable_vgpus(...)

Query the currently creatable vGPU types on a specific GPU Instance.

gpu_instance_get_info(intptr_t gpu_instance)

Get GPU instance information.

gpu_instance_get_vgpu_heterogeneous_mode(...)

Get the vGPU heterogeneous mode for the GPU instance.

gpu_instance_get_vgpu_scheduler_log(...)

Returns the vGPU scheduler logs for the given GPU instance.

gpu_instance_get_vgpu_scheduler_state(...)

Returns the vGPU scheduler state for the given GPU instance.

gpu_instance_get_vgpu_type_creatable_placements(...)

Query the creatable vGPU placement ID of the vGPU type within a GPU instance.

gpu_instance_set_vgpu_heterogeneous_mode(...)

Enable or disable vGPU heterogeneous mode for the GPU instance.

gpu_instance_set_vgpu_scheduler_state(...)

Set vGPU scheduler state for the given GPU instance.

init_v2()

Initialize NVML, but don't initialize any GPUs yet.

init_with_flags(unsigned int flags)

nvmlInitWithFlags is a variant of nvmlInit(), that allows passing a set of boolean values modifying the behaviour of nvmlInit().

set_vgpu_version(intptr_t vgpu_version)

Override the preset range of vGPU versions supported by the NVIDIA vGPU Manager with a range set by an administrator.

shutdown()

Shut down NVML by releasing all GPU resources previously allocated with init_v2().

system_event_set_create()

Create an empty set of system events.

system_event_set_free(intptr_t event_set)

Frees an event set.

system_event_set_wait(intptr_t event_set, ...)

Waits for events to occur on the system event set.

system_get_conf_compute_capabilities()

Get Conf Computing System capabilities.

system_get_conf_compute_gpus_ready_state()

Get Conf Computing GPUs ready state.

system_get_conf_compute_key_rotation_threshold_info()

Get Conf Computing key rotation threshold detail.

system_get_conf_compute_settings()

Get Conf Computing System Settings.

system_get_conf_compute_state()

Get Conf Computing System State.

system_get_cuda_driver_version()

Retrieves the version of the CUDA driver.

system_get_cuda_driver_version_v2()

Retrieves the version of the CUDA driver from the shared library.

system_get_driver_branch()

Retrieves the driver branch of the NVIDIA driver installed on the system.

system_get_driver_version()

Retrieves the version of the system's graphics driver.

system_get_hic_version()

Retrieves the IDs and firmware versions for any Host Interface Cards (HICs) in the system.

system_get_nvlink_bw_mode()

Get the global nvlink bandwith mode.

system_get_nvml_version()

Retrieves the version of the NVML library.

system_get_process_name(unsigned int pid)

Gets name of the process with provided process id.

system_get_topology_gpu_set(...)

Retrieve the set of GPUs that have a CPU affinity with the given CPU number

system_register_events(...)

Starts recording of events on system and add the events to specified nvmlSystemEventSet_t.

system_set_conf_compute_gpus_ready_state(...)

Set Conf Computing GPUs ready state.

system_set_conf_compute_key_rotation_threshold_info(...)

Set Conf Computing key rotation threshold.

system_set_nvlink_bw_mode(...)

Set the global nvlink bandwith mode.

unit_get_count()

Retrieves the number of units in the system.

unit_get_devices(intptr_t unit)

Retrieves the set of GPU devices that are attached to the specified unit.

unit_get_fan_speed_info(intptr_t unit)

Retrieves the fan speed readings for the unit.

unit_get_handle_by_index(unsigned int ind_ex)

Acquire the handle for a particular unit, based on its ind_ex.

unit_get_led_state(intptr_t unit)

Retrieves the LED state associated with this unit.

unit_get_psu_info(intptr_t unit)

Retrieves the PSU stats for the unit.

unit_get_temperature(intptr_t unit, ...)

Retrieves the temperature readings for the unit, in degrees C.

unit_get_unit_info(intptr_t unit)

Retrieves the static information associated with a unit.

unit_set_led_state(intptr_t unit, int color)

Set the LED state for the unit.

vgpu_instance_clear_accounting_pids(...)

Clears accounting information of the vGPU instance that have already terminated.

vgpu_instance_get_accounting_mode(...)

Queries the state of per process accounting mode on vGPU.

vgpu_instance_get_accounting_pids(...)

Queries list of processes running on vGPU that can be queried for accounting stats.

vgpu_instance_get_accounting_stats(...)

Queries process's accounting stats.

vgpu_instance_get_ecc_mode(...)

Retrieve the current ECC mode of vGPU instance.

vgpu_instance_get_encoder_capacity(...)

Retrieve the encoder capacity of a vGPU instance, as a percentage of maximum encoder capacity with valid values in the range 0-100.

vgpu_instance_get_encoder_sessions(...)

Retrieves information about all active encoder sessions on a vGPU Instance.

vgpu_instance_get_encoder_stats(...)

Retrieves the current encoder statistics of a vGPU Instance.

vgpu_instance_get_fb_usage(...)

Retrieve the framebuffer usage in bytes.

vgpu_instance_get_fbc_sessions(...)

Retrieves information about active frame buffer capture sessions on a vGPU Instance.

vgpu_instance_get_fbc_stats(...)

Retrieves the active frame buffer capture sessions statistics of a vGPU Instance.

vgpu_instance_get_frame_rate_limit(...)

Retrieve the frame rate limit set for the vGPU instance.

vgpu_instance_get_gpu_instance_id(...)

Retrieve the GPU Instance ID for the given vGPU Instance.

vgpu_instance_get_gpu_pci_id(...)

Retrieves the PCI Id of the given vGPU Instance i.e. the PCI Id of the GPU as seen inside the VM.

vgpu_instance_get_license_info_v2(...)

Query the license information of the vGPU instance.

vgpu_instance_get_license_status(...)

[Deprecated].

vgpu_instance_get_mdev_uuid(...)

Retrieve the MDEV UUID of a vGPU instance.

vgpu_instance_get_metadata(...)

Returns vGPU metadata structure for a running vGPU.

vgpu_instance_get_placement_id(...)

Query the placement ID of active vGPU instance.

vgpu_instance_get_runtime_state_size(...)

Retrieve the currently used runtime state size of the vGPU instance.

vgpu_instance_get_type(...)

Retrieve the vGPU type of a vGPU instance.

vgpu_instance_get_uuid(...)

Retrieve the UUID of a vGPU instance.

vgpu_instance_get_vm_driver_version(...)

Retrieve the NVIDIA driver version installed in the VM associated with a vGPU.

vgpu_instance_get_vm_id(...)

Retrieve the VM ID associated with a vGPU instance.

vgpu_instance_set_encoder_capacity(...)

Set the encoder capacity of a vGPU instance, as a percentage of maximum encoder capacity with valid values in the range 0-100.

vgpu_type_get_bar1_info(...)

Retrieve the BAR1 info for given vGPU type.

vgpu_type_get_capabilities(...)

Retrieve the requested capability for a given vGPU type.

vgpu_type_get_class(unsigned int vgpu_type_id)

Retrieve the class of a vGPU type.

vgpu_type_get_device_id(...)

Retrieve the device ID of a vGPU type.

vgpu_type_get_fb_reservation(...)

Retrieve the static framebuffer reservation of the vGPU type in bytes.

vgpu_type_get_frame_rate_limit(...)

Retrieve the static frame rate limit value of the vGPU type.

vgpu_type_get_framebuffer_size(...)

Retrieve the vGPU framebuffer size in bytes.

vgpu_type_get_gpu_instance_profile_id(...)

Retrieve the GPU Instance Profile ID for the given vGPU type ID.

vgpu_type_get_gsp_heap_size(...)

Retrieve the static GSP heap size of the vGPU type in bytes.

vgpu_type_get_license(unsigned int vgpu_type_id)

Retrieve license requirements for a vGPU type.

vgpu_type_get_max_instances(intptr_t device, ...)

Retrieve the maximum number of vGPU instances creatable on a device for given vGPU type.

vgpu_type_get_max_instances_per_gpu_instance(...)

Retrieve the maximum number of vGPU instances per GPU instance for given vGPU type.

vgpu_type_get_max_instances_per_vm(...)

Retrieve the maximum number of vGPU instances supported per VM for given vGPU type.

vgpu_type_get_name(unsigned int vgpu_type_id)

Retrieve the vGPU type name.

vgpu_type_get_num_display_heads(...)

Retrieve count of vGPU's supported display heads.

vgpu_type_get_resolution(...)

Retrieve vGPU display head's maximum supported resolution.

Enums#

AdaptiveClockingInfoStatus(value)

AdaptiveClockingInfoStatus

AffinityScope(value)

AffinityScope

BrandType(value)

BridgeChipType(value)

Enum to represent type of bridge chip

BusType(value)

BusType

C2CPowerState(value)

C2CPowerState

CCAcceptingClientRequests(value)

CCAcceptingClientRequests

CCSystemCpuCaps(value)

CCSystemCpuCaps

CCSystemDevtoolsMode(value)

CCSystemDevtoolsMode

CCSystemEnvironment(value)

CCSystemEnvironment

CCSystemFeature(value)

CCSystemFeature

CCSystemGpus(value)

CCSystemGpus

CCSystemMultiGpu(value)

CCSystemMultiGpu

ClockId(value)

Clock Ids.

ClockLimitId(value)

See nvmlClockLimitId_t.

ClocksEventReasons(value)

ClocksEventReasons

ClockType(value)

Clock types.

ComputeInstanceEngineProfile(value)

ComputeInstanceEngineProfile

ComputeInstanceProfile(value)

ComputeInstanceProfile

ComputeInstanceProfileCaps(value)

ComputeInstanceProfileCaps

ComputeMode(value)

Compute mode.

CoolerControl(value)

Cooler control type

CoolerTarget(value)

Cooler's target

DetachGpuState(value)

Is the GPU device to be removed from the kernel by nvmlDeviceRemoveGpu()

DeviceAddressingModeType(value)

Enum to represent device addressing mode values

DeviceArch(value)

DeviceArch

DeviceGpuRecoveryAction(value)

Enum describing the GPU Recovery Action

DeviceMig(value)

DeviceMig

DeviceVgpuCapability(value)

Device vGPU queryable capabilities

DriverModel(value)

Driver models.

EccCounterType(value)

ECC counter types.

EnableState(value)

Generic enable/disable enum.

EncoderQuery(value)

EncoderQuery

EncoderType(value)

Represents type of encoder for capacity can be queried

EventType(value)

EventType

FanControlPolicy(value)

FanControlPolicy

FanState(value)

Fan state enum.

FBCSessionType(value)

Represents frame buffer capture session type

FieldId(value)

FieldId

GpmMetricId(value)

GPM Metric Identifiers

GpuFabricHealthMaskAccessTimeout(value)

GpuFabricHealthMaskAccessTimeout

GpuFabricHealthMaskDegradedBw(value)

GpuFabricHealthMaskDegradedBw

GpuFabricHealthMaskIncorrectConfiguration(value)

GpuFabricHealthMaskIncorrectConfiguration

GpuFabricHealthMaskRouteRecovery(value)

GpuFabricHealthMaskRouteRecovery

GpuFabricHealthMaskRouteUnhealthy(value)

GpuFabricHealthMaskRouteUnhealthy

GpuFabricHealthSummary(value)

GpuFabricHealthSummary

GpuFabricState(value)

GpuFabricState

GpuInstanceProfile(value)

GpuInstanceProfile

GpuInstanceProfileCaps(value)

GpuInstanceProfileCaps

GpuOperationMode(value)

GPU Operation Mode GOM allows to reduce power usage and optimize GPU throughput by disabling GPU features.

GpuP2PCapsIndex(value)

See nvmlGpuP2PCapsIndex_t.

GpuP2PStatus(value)

See nvmlGpuP2PStatus_t.

GpuTopologyLevel(value)

Represents level relationships within a system between two GPUs The enums are spaced to allow for future relationships

GpuUtilizationDomainId(value)

Represents the GPU utilization domains

GpuVirtualizationMode(value)

GPU virtualization mode types.

GridLicenseExpiryEnum(value)

GridLicenseExpiryEnum

GridLicenseFeatureCode(value)

vGPU software licensable features

GridLicenseState(value)

GridLicenseState

HostVgpuMode(value)

Host vGPU modes

InforomObject(value)

Available infoROM objects.

InitFlag(value)

InitFlag

IntNvLinkDeviceType(value)

Enum to represent NvLink's remote device type

LedColor(value)

Led color enum.

MemoryErrorType(value)

Memory error types

MemoryLocation(value)

See nvmlDeviceGetMemoryErrorCounter

NvFBCSessionFlag(value)

NvFBCSessionFlag

NvLinkCapability(value)

Enum to represent NvLink queryable capabilities

NvLinkErrorCounter(value)

Enum to represent NvLink queryable error counters

NvlinkFirmwareUcodeType(value)

NvlinkFirmwareUcodeType

NvlinkLowPowerThreshold(value)

NvlinkLowPowerThreshold

NvlinkLowPowerThresholdUnit(value)

NvlinkLowPowerThresholdUnit

NvlinkPowerState(value)

NvlinkPowerState

NvlinkState(value)

NvlinkState

NvLinkUtilizationCountPktTypes(value)

Enum to represent the NvLink utilization counter packet types to count ** this is ONLY applicable with the units as packets or bytes ** as specified in nvmlNvLinkUtilizationCountUnits_t ** all packet filter descriptions are target GPU centric ** these can be "OR'd" together

NvLinkUtilizationCountUnits(value)

Enum to represent the NvLink utilization counter packet units

NvlinkVersion(value)

Represents Nvlink Version

PageRetirementCause(value)

Causes for page retirement

PcieAtomicsCap(value)

PcieAtomicsCap

PcieLinkMaxSpeed(value)

PcieLinkMaxSpeed

PcieLinkState(value)

Parent bridge PCIe link state requested by nvmlDeviceRemoveGpu()

PcieUtilCounter(value)

Represents the queryable PCIe utilization counters

PerfPolicyType(value)

Represents type of perf policy for which violation times can be queried

PowerMizerMode(value)

PowerMizerMode

PowerProfileOperation(value)

Enum for operation to perform on the requested profiles

PowerProfileType(value)

See nvmlPowerProfileType_t.

PowerScope(value)

PowerScope

PowerSmoothingProfileParam(value)

PowerSmoothingProfileParam

PowerSource(value)

PowerSource

PRMCounterId(value)

PRM Counter IDs

Pstates(value)

Allowed PStates.

RestrictedAPI(value)

API types that allow changes to default permission restrictions

Return(value)

Return values for NVML API calls.

RUSD(value)

RUSD

SamplingType(value)

Represents Type of Sampling Event

SystemEventType(value)

SystemEventType

TemperatureSensors(value)

Temperature sensors.

TemperatureThresholds(value)

Temperature thresholds.

ThermalController(value)

Represents the thermal sensor controllers

ThermalTarget(value)

Represents the thermal sensor targets

UUIDType(value)

Enum to represent different UUID types

ValueType(value)

Represents the type for sample value returned

VgpuCapability(value)

vGPU queryable capabilities

VgpuDriverCapability(value)

vGPU driver queryable capabilities

VgpuGuestInfoState(value)

vGPU GUEST info state

VgpuPgpu(value)

VgpuPgpu

VgpuPgpuCompatibilityLimitCode(value)

vGPU-pGPU compatibility limit codes

VgpuPgpuVirtualizationCapMigration(value)

VgpuPgpuVirtualizationCapMigration

VgpuSchedulerArr(value)

VgpuSchedulerArr

VgpuSchedulerEngineType(value)

VgpuSchedulerEngineType

VgpuSchedulerPolicy(value)

VgpuSchedulerPolicy

VgpuVirtualizationCapMigration(value)

VgpuVirtualizationCapMigration

VgpuVmCompatibility(value)

vGPU VM compatibility codes

VgpuVmIdType(value)

Types of VM identifiers

Types#

AccountingStats()

Empty-initialize an instance of nvmlAccountingStats_t.

ActiveVgpuInstanceInfo_v1()

Empty-initialize an instance of nvmlActiveVgpuInstanceInfo_v1_t.

BAR1Memory()

Empty-initialize an instance of nvmlBAR1Memory_t.

BridgeChipHierarchy()

Empty-initialize an instance of nvmlBridgeChipHierarchy_t.

BridgeChipInfo([size])

Empty-initialize an array of nvmlBridgeChipInfo_t.

C2cModeInfo_v1()

Empty-initialize an instance of nvmlC2cModeInfo_v1_t.

ClkMonFaultInfo([size])

Empty-initialize an array of nvmlClkMonFaultInfo_t.

ClkMonStatus()

Empty-initialize an instance of nvmlClkMonStatus_t.

ClockOffset_v1()

Empty-initialize an instance of nvmlClockOffset_v1_t.

ComputeInstanceInfo()

Empty-initialize an instance of nvmlComputeInstanceInfo_t.

ComputeInstancePlacement([size])

Empty-initialize an array of nvmlComputeInstancePlacement_t.

ComputeInstanceProfileInfo_v2()

Empty-initialize an instance of nvmlComputeInstanceProfileInfo_v2_t.

ComputeInstanceProfileInfo_v3()

Empty-initialize an instance of nvmlComputeInstanceProfileInfo_v3_t.

ConfComputeGpuAttestationReport()

Empty-initialize an instance of nvmlConfComputeGpuAttestationReport_t.

ConfComputeGpuCertificate()

Empty-initialize an instance of nvmlConfComputeGpuCertificate_t.

ConfComputeMemSizeInfo()

Empty-initialize an instance of nvmlConfComputeMemSizeInfo_t.

ConfComputeSystemCaps()

Empty-initialize an instance of nvmlConfComputeSystemCaps_t.

ConfComputeSystemState()

Empty-initialize an instance of nvmlConfComputeSystemState_t.

CoolerInfo_v1()

Empty-initialize an instance of nvmlCoolerInfo_v1_t.

DeviceAddressingMode_v1()

Empty-initialize an instance of nvmlDeviceAddressingMode_v1_t.

DeviceAttributes()

Empty-initialize an instance of nvmlDeviceAttributes_t.

DevicePowerMizerModes_v1()

Empty-initialize an instance of nvmlDevicePowerMizerModes_v1_t.

EccSramErrorStatus_v1()

Empty-initialize an instance of nvmlEccSramErrorStatus_v1_t.

EccSramUniqueUncorrectedErrorCounts_v1()

Empty-initialize an instance of nvmlEccSramUniqueUncorrectedErrorCounts_v1_t.

EccSramUniqueUncorrectedErrorEntry_v1([size])

Empty-initialize an array of nvmlEccSramUniqueUncorrectedErrorEntry_v1_t.

EncoderSessionInfo([size])

Empty-initialize an array of nvmlEncoderSessionInfo_t.

EventData()

Empty-initialize an instance of nvmlEventData_t.

ExcludedDeviceInfo()

Empty-initialize an instance of nvmlExcludedDeviceInfo_t.

FBCSessionInfo([size])

Empty-initialize an array of nvmlFBCSessionInfo_t.

FBCStats()

Empty-initialize an instance of nvmlFBCStats_t.

FieldValue([size])

Empty-initialize an array of nvmlFieldValue_t.

GpuDynamicPstatesInfo()

Empty-initialize an instance of nvmlGpuDynamicPstatesInfo_t.

GpuFabricInfo_v2()

Empty-initialize an instance of nvmlGpuFabricInfo_v2_t.

GpuFabricInfo_v3()

Empty-initialize an instance of nvmlGpuFabricInfo_v3_t.

GpuInstanceInfo()

Empty-initialize an instance of nvmlGpuInstanceInfo_t.

GpuInstancePlacement([size])

Empty-initialize an array of nvmlGpuInstancePlacement_t.

GpuInstanceProfileInfo_v3()

Empty-initialize an instance of nvmlGpuInstanceProfileInfo_v3_t.

GpuThermalSettings()

Empty-initialize an instance of nvmlGpuThermalSettings_t.

GridLicensableFeature([size])

Empty-initialize an array of nvmlGridLicensableFeature_t.

GridLicensableFeatures()

Empty-initialize an instance of nvmlGridLicensableFeatures_t.

GridLicenseExpiry()

Empty-initialize an instance of nvmlGridLicenseExpiry_t.

HwbcEntry([size])

Empty-initialize an array of nvmlHwbcEntry_t.

LedState()

Empty-initialize an instance of nvmlLedState_t.

Memory()

Empty-initialize an instance of nvmlMemory_t.

Memory_v2()

Empty-initialize an instance of nvmlMemory_v2_t.

NvlinkFirmwareInfo()

Empty-initialize an instance of nvmlNvlinkFirmwareInfo_t.

NvlinkFirmwareVersion()

Empty-initialize an instance of nvmlNvlinkFirmwareVersion_t.

NvlinkGetBwMode_v1()

Empty-initialize an instance of nvmlNvlinkGetBwMode_v1_t.

NvLinkInfo_v1()

Empty-initialize an instance of nvmlNvLinkInfo_v1_t.

NvLinkInfo_v2()

Empty-initialize an instance of nvmlNvLinkInfo_v2_t.

NvlinkSetBwMode_v1()

Empty-initialize an instance of nvmlNvlinkSetBwMode_v1_t.

NvlinkSupportedBwModes_v1()

Empty-initialize an instance of nvmlNvlinkSupportedBwModes_v1_t.

PciInfo()

Empty-initialize an instance of nvmlPciInfo_t.

PciInfoExt_v1()

Empty-initialize an instance of nvmlPciInfoExt_v1_t.

PlatformInfo_v1()

Empty-initialize an instance of nvmlPlatformInfo_v1_t.

PlatformInfo_v2()

Empty-initialize an instance of nvmlPlatformInfo_v2_t.

PRMCounter_v1([size])

Empty-initialize an array of nvmlPRMCounter_v1_t.

PRMCounterInput_v1()

Empty-initialize an instance of nvmlPRMCounterInput_v1_t.

PRMCounterValue_v1()

Empty-initialize an instance of nvmlPRMCounterValue_v1_t.

ProcessDetail_v1([size])

Empty-initialize an array of nvmlProcessDetail_v1_t.

ProcessDetailList_v1()

Empty-initialize an instance of nvmlProcessDetailList_v1_t.

ProcessesUtilizationInfo_v1()

Empty-initialize an instance of nvmlProcessesUtilizationInfo_v1_t.

ProcessInfo([size])

Empty-initialize an array of nvmlProcessInfo_t.

ProcessUtilizationInfo_v1([size])

Empty-initialize an array of nvmlProcessUtilizationInfo_v1_t.

ProcessUtilizationSample([size])

Empty-initialize an array of nvmlProcessUtilizationSample_t.

PSUInfo()

Empty-initialize an instance of nvmlPSUInfo_t.

RepairStatus_v1()

Empty-initialize an instance of nvmlRepairStatus_v1_t.

RowRemapperHistogramValues()

Empty-initialize an instance of nvmlRowRemapperHistogramValues_t.

Sample([size])

Empty-initialize an array of nvmlSample_t.

SystemConfComputeSettings_v1()

Empty-initialize an instance of nvmlSystemConfComputeSettings_v1_t.

SystemEventData_v1([size])

Empty-initialize an array of nvmlSystemEventData_v1_t.

UnitFanInfo([size])

Empty-initialize an array of nvmlUnitFanInfo_t.

UnitFanSpeeds()

Empty-initialize an instance of nvmlUnitFanSpeeds_t.

UnitInfo()

Empty-initialize an instance of nvmlUnitInfo_t.

Utilization()

Empty-initialize an instance of nvmlUtilization_t.

Value()

Empty-initialize an instance of nvmlValue_t.

VgpuCreatablePlacementInfo_v1()

Empty-initialize an instance of nvmlVgpuCreatablePlacementInfo_v1_t.

VgpuInstancesUtilizationInfo_v1()

Empty-initialize an instance of nvmlVgpuInstancesUtilizationInfo_v1_t.

VgpuInstanceUtilizationInfo_v1([size])

Empty-initialize an array of nvmlVgpuInstanceUtilizationInfo_v1_t.

VgpuInstanceUtilizationSample([size])

Empty-initialize an array of nvmlVgpuInstanceUtilizationSample_t.

VgpuLicenseExpiry()

Empty-initialize an instance of nvmlVgpuLicenseExpiry_t.

VgpuLicenseInfo()

Empty-initialize an instance of nvmlVgpuLicenseInfo_t.

VgpuMetadata()

Empty-initialize an instance of nvmlVgpuMetadata_t.

VgpuPgpuCompatibility()

Empty-initialize an instance of nvmlVgpuPgpuCompatibility_t.

VgpuPgpuMetadata()

Empty-initialize an instance of nvmlVgpuPgpuMetadata_t.

VgpuPlacementList_v2()

Empty-initialize an instance of nvmlVgpuPlacementList_v2_t.

VgpuProcessesUtilizationInfo_v1()

Empty-initialize an instance of nvmlVgpuProcessesUtilizationInfo_v1_t.

VgpuProcessUtilizationInfo_v1([size])

Empty-initialize an array of nvmlVgpuProcessUtilizationInfo_v1_t.

VgpuSchedulerCapabilities()

Empty-initialize an instance of nvmlVgpuSchedulerCapabilities_t.

VgpuSchedulerGetState()

Empty-initialize an instance of nvmlVgpuSchedulerGetState_t.

VgpuSchedulerLog()

Empty-initialize an instance of nvmlVgpuSchedulerLog_t.

VgpuSchedulerLogEntry([size])

Empty-initialize an array of nvmlVgpuSchedulerLogEntry_t.

VgpuSchedulerLogInfo_v1()

Empty-initialize an instance of nvmlVgpuSchedulerLogInfo_v1_t.

VgpuSchedulerParams()

Empty-initialize an instance of nvmlVgpuSchedulerParams_t.

VgpuSchedulerSetParams()

Empty-initialize an instance of nvmlVgpuSchedulerSetParams_t.

VgpuSchedulerState_v1()

Empty-initialize an instance of nvmlVgpuSchedulerState_v1_t.

VgpuSchedulerStateInfo_v1()

Empty-initialize an instance of nvmlVgpuSchedulerStateInfo_v1_t.

VgpuTypeBar1Info_v1()

Empty-initialize an instance of nvmlVgpuTypeBar1Info_v1_t.

VgpuTypeIdInfo_v1()

Empty-initialize an instance of nvmlVgpuTypeIdInfo_v1_t.

VgpuVersion()

Empty-initialize an instance of nvmlVgpuVersion_t.

Exceptions#