cuda.core.system.InforomInfo#

class cuda.core.system.InforomInfo(Device device: Device)#

Methods

__init__(*args, **kwargs)#
get_version(self, inforom: InforomObject) str#

Retrieves the InfoROM version for a given InfoROM object.

For all products with an InfoROM.

Fermi™ and higher parts have non-volatile on-board memory for persisting device info, such as aggregate ECC counts.

Parameters:

inforom (InforomObject) – The InfoROM object to query.

Returns:

The InfoROM version.

Return type:

str

validate(self) None#

Reads the InfoROM from the flash and verifies the checksums.

For all products with an InfoROM.

Raises:

cuda.core.system.CorruptedInforomError – If the device’s InfoROM is corrupted.

Attributes

bbx_flush_time#

tuple[int, int]

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

For all products with an InfoROM.

Returns:

  • timestamp: The start timestamp of the last BBX flush

  • duration_us: The duration (in μs) of the last BBX flush

Return type:

tuple[int, int]

Type:

InforomInfo.bbx_flush_time

board_part_number#

str

The device board part number which is programmed into the board’s InfoROM.

Type:

InforomInfo.board_part_number

configuration_checksum#

int

Retrieves the checksum of the configuration stored in the device’s InfoROM.

For all products with an InfoROM.

Can be used to make sure that two GPUs have the exact same configuration. Current checksum takes into account configuration stored in PWR and ECC InfoROM objects. Checksum can change between driver releases or when user changes configuration (e.g. disable/enable ECC)

Returns:

The InfoROM checksum.

Return type:

int

Type:

InforomInfo.configuration_checksum

image_version#

str

Retrieves the global InfoROM image version.

For all products with an InfoROM.

Image version just like VBIOS version uniquely describes the exact version of the InfoROM flashed on the board in contrast to InfoROM object version which is only an indicator of supported features.

Returns:

The InfoROM image version.

Return type:

str

Type:

InforomInfo.image_version