pytc.solver.bug_helperΒΆ
Small device, memory and timing tools shared by the BUG solvers.
Nothing here is numerical: device residency of the DF factors (cached upload, aux-chunk streaming), counted host<->device transfers, memory probes and a device-synchronised clock.
Functions
Aux-major (naux, ...) copy of a static host array, made once per solve. |
|
Device |
|
Device allocator limit, or 0 when the backend reports none. |
|
Largest row panel whose scratch stays a small fraction of the arena. |
|
|
|
Wall clock after the device queue drains. |
|
Allocator statistics of the first device, or |
|
device_get, timed and counted -- AFTER the producer has finished. |
|
A host buffer for a pair-height array (rows of length r or naux). |
|
Every observable host-memory ceiling, and the binding one. |
|
Directory for disk-backed pair-height buffers, from |
|
Device copy of a static host array, uploaded once per solve. |
|
device_put, timed and counted. |
|
Rows |
|
Measured synchronous transfer cost since the last reset. |