nvmath.device.Code

class nvmath.device.Code(code_type, isa_version, data)[source]

A namedtuple class that encapsulates code type, version, and buffer.

code_type

The underlying code type.

Type:

CodeType

isa_version

The instruction set architecture version for the code.

Type:

ISAVersion

data

The buffer pointer.