pytc.solver.bug_helper.on_device

pytc.solver.bug_helper.on_device(x)[source]

Device copy of a static host array, uploaded once per solve.

Keyed by id; the entry keeps the host array alive so the id stays unique. Arrays above RESIDENT_LIMIT_BYTES stay on the host.