Test runtime sim

From hw-native-sys/simpler · View interactive version

Test runtime sim is an AI agent skill from the GitHub repository hw-native-sys/simpler. Run simulation tests for one runtime ($ARGUMENTS — host_build_graph or tensormap_and_ringbuffer). Use when the user asks to test a single runtime in simulation.

How to use this skill

Skill file

Run simulation tests for a single runtime specified by $ARGUMENTS

Detection procedures referenced below live in

CODE0.

  1. Validate that $ARGUMENTS is one of: host_build_graph,

tensormap_and_ringbuffer. If not, list the valid runtimes and stop.

  1. Extract CI timeout (§D, sim jobs): --pto-session-timeout.
  2. Detect platform (sim, §B).
  3. Run:

```bash

pytest examples tests/st --platform <platform> --runtime $ARGUMENTS --device 0-15 \

--pto-session-timeout <timeout> -v

```

xdist parallelism is auto-selected via --max-parallel auto (min of nproc

and device pool size on sim); see docs/testing/parallel-execution.md.

  1. Report the results summary (pass/fail counts).
  2. If any tests fail, show the relevant error output.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.