NLA-lib Explorer

Separating stored allocations from primitive workspace

Library · Source module

Separating stored allocations from primitive workspace

Only one primitive runs at a time. A common ceiling on primitive workspace is therefore added once to the peak due to explicit allocations, regardless of loop counts and nesting.

Main results

* NLAlib.Ops.stmtPeak_le_zero_add: shared primitive workspace above stored allocation peak. * NLAlib.Ops.stmtPeak_le_zero_add_on_support: a ceiling only on supported call shapes.

Declarations