Expand description
Shared element-count budget for dense materialization in production paths. Shared element-count budget for dense materialization in production paths.
Production algorithms that must build a dense local object (an eigenproblem
matrix, an embedded operator site, …) check its size here before
allocating. The unit is elements, not bytes: bytes = elements ×
size_of::<T>().
Structs§
- Dense
Element Budget - Element-count budget for one dense materialization.
Enums§
- Dense
Budget Error - Error returned by a
DenseElementBudgetcheck.
Constants§
- DEFAULT_
MAX_ DENSE_ ELEMENTS - Default dense-element budget:
1 << 24elements, i.e. 256 MiB per denseComplex64object.