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. |
|
|
Complex type that can be used to represent complex numbers both on host and device side. |
|
Vector type that can be used to represent vector numbers both on host and device side. |
Complex type that can be used to represent complex numbers both on host and device side. |
|
Complex type that can be used to represent complex numbers both on host and device side. |
|
Complex type that can be used to represent complex numbers both on host and device side. |
|
NumPy dtype object that encapsulates the np in device. |
|
NumPy dtype object that encapsulates the np in device. |
|
Vector type that can be used to represent vector numbers both on host and device side. |
|
Vector type that can be used to represent vector numbers both on host and device side. |
|
|
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 the dimensions for grids and blocks. |