cuda.bindings.nvml.NvlinkFirmwareInfo#

class cuda.bindings.nvml.NvlinkFirmwareInfo#

Empty-initialize an instance of nvmlNvlinkFirmwareInfo_t.

See also

nvmlNvlinkFirmwareInfo_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an NvlinkFirmwareInfo instance with the memory from the given buffer.

from_data(data)

Create an NvlinkFirmwareInfo instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an NvlinkFirmwareInfo instance wrapping the given pointer.

Attributes

firmware_version

OUT - NVLINK firmware version.

num_valid_entries

OUT - Number of valid firmware entries.

ptr

Get the pointer address to the data as Python int.