pytc.solver.bug_helper.aux_streamed

pytc.solver.bug_helper.aux_streamed(call, *aux_arrays, static=None)[source]

call(*aux_arrays) for a call that is a single sum over the aux index.

Arrays that fit stay device-resident; if any does not, the aux axis (last) is walked in chunks and the outputs are summed. static flags the arrays that live for the whole solve (the DF factors) and may be cached by on_device; per-state arrays are uploaded without caching.