MatmulAlgo#
-
class nvmath.
bindings. cublasLt. MatmulAlgo(size=1)[source]# Empty-initialize an array of
cublasLtMatmulAlgo_t.The resulting object is of length
sizeand of dtypematmul_algo_dtype. If default-constructed, the instance represents a single struct.- Parameters:
size (int) – number of structs, default=1.
See also
cublasLtMatmulAlgo_tAttributes
- data_#
(array of length 8).
- Type:
uint64
Methods
- static from_buffer(buffer)[source]#
Create an MatmulAlgo instance with the memory from the given buffer.
- 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_dtypeholding the data.