cuda.bindings.nvml.NvlinkFirmwareVersion#

class cuda.bindings.nvml.NvlinkFirmwareVersion(size=1)#

Empty-initialize an array of nvmlNvlinkFirmwareVersion_t. The resulting object is of length size and of dtype nvlink_firmware_version_dtype. If default-constructed, the instance represents a single struct.

Parameters:

size (int) – number of structs, default=1.

See also

nvmlNvlinkFirmwareVersion_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an NvlinkFirmwareVersion instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, size_t size=1, ...[, ...])

Create an NvlinkFirmwareVersion instance wrapping the given pointer.

Attributes

major

Union[~_numpy.uint32, int]:

minor

Union[~_numpy.uint32, int]:

ptr

Get the pointer address to the data as Python int.

sub_minor

Union[~_numpy.uint32, int]:

ucode_type

Union[~_numpy.uint8, int]: