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,
A data class for providing options to the
Matmul.plan()method and the wrapper functionmatmul().- reduction_scheme_mask (object of type
linalg.advanced.MatmulReductionScheme) : Enumerators fromlinalg.advanced.MatmulReductionSchemecombined with bitwise operator|. 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 (object of type
linalg.advanced.MatmulNumericalImplFlags) : Enumerators fromlinalg.advanced.MatmulNumericalImplFlagscombined with bitwise operator|. 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:
See also