MatmulHeuristicResult#
-
class nvmath.
bindings. cublasLt. MatmulHeuristicResult(size=1)[source]# Empty-initialize an array of
cublasLtMatmulHeuristicResult_t.The resulting object is of length
sizeand of dtypematmul_heuristic_result_dtype. If default-constructed, the instance represents a single struct.- Parameters:
size (int) – number of structs, default=1.
See also
cublasLtMatmulHeuristicResult_tMethods
- __init__(*args, **kwargs)#
- static from_data(data)[source]#
Create an MatmulHeuristicResult instance wrapping the given NumPy array.
- Parameters:
data (_numpy.ndarray) – a 1D array of dtype
matmul_heuristic_result_dtypeholding the data.
- static from_ptr(
- intptr_t ptr,
- size_t size=1,
- bool readonly=False,
Create an MatmulHeuristicResult instance wrapping the given pointer.
Attributes
- algo#
matmul_algo_dtype:
- state#
Union[~_numpy.int32, int]:
- waves_count#
Union[~_numpy.float32, float]:
- workspace_size#
Union[~_numpy.uint64, int]: