Device API utilities (nvmath. device
)#
Overview#
nvmath-python provides the following device-side utilities.
API Reference#
A helper function to get the default code type for link time optimization (LTO) on the current device. |
|
|
Create a Numba compliant vector object for float16 with vector length 2. |
|
Create a Numba compliant vector object for float16 with vector length 4. |
|
Create a Numba compliant vector object for float32 with vector length 2. |
|
Create a Numba compliant vector object for float64 with vector length 2. |
A Numba compliant vector type object for float16 with vector length 2 |
|
A Numba compliant vector type object for float16 with vector length 4 |
|
A Numba compliant vector type object for float32 with vector length 2 |
|
A Numba compliant vector type object for float64 with vector length 2 |
|
|
A namedtuple class that encapsulates the code version. |
|
A namedtuple class that encapsulates code type, version, and buffer. |
|
A namedtuple class that encapsulates code kind and compute capability. |
|
A namedtuple class that encapsulates the major and minor compute capability. |
|
A namedtuple class that encapsulates code kind and compute capability. |
|
A namedtuple class that encapsulates a device function symbol and which API it maps to. |
|
A namedtuple class that encapsulates the dimensions for grids and blocks. |