CodeType#

class nvmath.device.CodeType(kind, cc)[source]#

A namedtuple class that encapsulates code kind and compute capability.

kind#

A string denoting the nature of the code, e.g, 'lto'.

Type:

str

cc#

The current GPU compute capability.

Type:

ComputeCapability