When several coding agents (Claude Code, Codex, OpenCode) share one GPU to iterate on kernels, three things break almost right away:

  • Concurrent runs step on each other's clocks and cache residency, turning microbenchmark timings into noise.
  • Agents re-submit identical candidates across retries or parallel branches and pay for the same GPU run twice.
  • Idle cloud pods stay warm after a session finishes while the billing meter keeps running.

During the 2026 Open Kernel Challenge, I built openGPU (ogpu) so a fleet of agents could hill-climb across 21 kernel tracks on a single shared H200 (745 jobs total) over RunPod, Modal, and plain Linux SSH hosts.

Instead of spinning up a heavy cluster scheduler, four small Unix and Python pieces handled everything:

  1. Exclusive flock on the GPU host so only one benchmark owns the device at any moment.
  2. Content-hash deduplication so identical code + harness inputs return cached timings instead of re-running.
  3. Cheap correctness pools so syntax, import, and numerical reference checks fail fast before touching an H200.
  4. An on-box idle reaper + local SQLite cost ledger recording every run, machine state, and dollar spent.

Code is Apache-2.0 at github.com/Sudhendra/openGPU.