Scalar and layout prefix before physical snapshot gathering #
setupLayout computes parameters, threshold and protected snapshot address from ordinary
scalar headers. After the charged physical gather, callers use BoxProduct.programFromSnapshot
for the shared continuation, including raw-matrix doubling and original-input restoration.
No source load interprets a physical pointer as a virtual offset.
Compute the original threshold and every layout parameter before native gathering.
Charge the ordinary runtime parameter and layout calculations.