pytc.solver.bug_rpa.fused_host_streamed_core

pytc.solver.bug_rpa.fused_host_streamed_core(B_host, U, S, d, *, block_rows, k=None, how='residual', emit_to_host=False, trace_sink=None)[source]

Core Grams and the selected projected residual, without forming BU.

Three host-DF traversals. Every accumulator update and the result store are inside donated compiled boundaries, so nothing of height nov and no duplicate accumulator set exists at any point.

The identities used are exact:

G2 = G1 - C G1                         since  U.T W = U.T D - (U.T U) G1
||D - U G||^2 = ||D||^2 - 2 diag(G1.T G) + diag(G.T C G)
Parameters:
  • B_host (Any)

  • U (Any)

  • S (Any)

  • d (Any)

  • block_rows (int)

  • k (int | None)

  • how (str)

  • emit_to_host (bool)

  • trace_sink (list | None)