MatmulAlgo#
-
class nvmath.
bindings. cublasLt. MatmulAlgo(size=1)[source]# Empty-initialize an array of
cublasLtMatmulAlgo_t
.The resulting object is of length
size
and of dtypematmul_algo_dtype
. If default-constructed, the instance represents a single struct.- Parameters:
size (int) – number of structs, default=1.
See also
cublasLtMatmulAlgo_t
Methods
- __init__(*args, **kwargs)#
- static from_data(data)[source]#
Create an MatmulAlgo instance wrapping the given NumPy array.
- Parameters:
data (_numpy.ndarray) – a 1D array of dtype
matmul_algo_dtype
holding the data.
- static from_ptr(intptr_t ptr, size_t size=1, bool readonly=False)[source]#
Create an MatmulAlgo instance wrapping the given pointer.
Attributes
- data_#
(array of length 8).
- Type:
uint64