MatmulPlanPreferences#
-
class nvmath.
linalg. advanced. MatmulPlanPreferences( - reduction_scheme_mask: ReductionScheme | None = ReductionScheme.MASK,
- max_waves_count: float | None = 0.0,
- numerical_impl_mask: MatmulNumericalImplFlags | None = MatmulNumericalImplFlags.ALL,
- limit: int = 8,
- epilog: MatmulEpilogPreferences | None = None,
A data class for providing options to the
Matmul.plan()
method and the wrapper functionmatmul()
.- reduction_scheme_mask#
Enumerators from
nvmath.
combined with bitwise operatorlinalg. advanced. MatmulReductionScheme |
. The default is all reduction schemes.
- max_waves_count#
The maximum wave count. Selecting a value greater than 0. will exclude algorithms with device utilization greater than specified. The default is 0.
- Type:
- numerical_impl_mask#
Enumerators from
nvmath.
combined with bitwise operatornvmath. linalg. advanced. MatmulNumericalImplFlags |
. The default is all numerical implementation flag choices.
- limit#
The number of algorithms to consider. If not specified, a suitable default will be chosen.
- Type:
- epilog#
Epilog preferences (as an object of class
MatmulEpilogPreferences
or adict
).
See also