pytc.solver.bug_core.hostbacked_basis_update¶
- pytc.solver.bug_core.hostbacked_basis_update(U_host, Qa_host, Wu, Wq, *, block_rows, trace_sink=None, out=None)[source]¶
Updated basis written to the HOST, with the cross accumulated in flight.
Returns
(U_new_host, cross).U_newnever exists on the device at full height, and ther x rcross comes back on the device where the caller needs it.outoptionally supplies a caller-owned contiguous destination, so the basis buffer can be reused across iterations instead of re-faulted every call.out=Noneallocates a new array.- Parameters:
U_host (Any)
Qa_host (Any)
Wu (Any)
Wq (Any)
block_rows (int)
trace_sink (list | None)
out (Any)