pytc.solver.bug_helper.host_empty¶
- pytc.solver.bug_helper.host_empty(shape, dtype=numpy.float64)[source]¶
A host buffer for a pair-height array (rows of length r or naux).
With
PYTC_HOST_SCRATCHunset this isnp.empty. Set, it is annp.memmapon a file in that directory (node-local NVMe), unlinked at once so the space goes when the array does. Every host-backed kernel reads and writes these arrays one row panel at a time, so the page cache holds only the panels in flight and RAM no longer scales with nov * r.