Dim3#

class nvmath.device.Dim3(x=1, y=1, z=1)[source]#

A namedtuple class that encapsulates the dimensions for grids and blocks.

x#

The dimension in the x direction (default 1).

Type:

int

y#

The dimension in the y direction (default 1).

Type:

int

z#

The dimension in the z direction (default 1).

Type:

int