Alignment#

class nvmath.device.Alignment(a: int, b: int, c: int)[source]#

A type to encapsulate the memory alignment in bytes of the matrix operands A, B, and C.

a#

The alignment of two-dimensional array used to store the matrix A.

Type:

int

b#

The alignment of two-dimensional array used to store the matrix B.

Type:

int

c#

The alignment of two-dimensional array used to store the matrix C.

Type:

int

static __new__(_cls, a: int, b: int, c: int)#

Create new instance of Alignment(a, b, c)