Repository navigation
v1.1.0
Arena-ticks/s from bench_cpp --replay (recorded game controls from the fullstate suite). CUDA on an RTX 5090; CPU and RocketSim v3 on a Ryzen 7 9800X3D with 14 threads. CPU vs previous release uses 14 threads for both. CUDA speed is unchanged from 1.0.0.
| Arenas | RocketGPU CUDA | RocketGPU CPU | CPU vs previous release | RocketSim v3 |
|---|---|---|---|---|
| 96 | 0.59M | 4.17M | +32.8% | 2.63M |
| 256 | 1.31M | 4.26M | +14.8% | 3.46M |
| 512 | 2.24M | 4.43M | +17.5% | 3.56M |
| 1,024 | 3.79M | 4.38M | +11.7% | 3.94M |
| 4,096 | 9.03M | 3.65M | +9.0% | 3.92M |
| 8,192 | 11.48M | 3.61M | +13.1% | 3.88M |
| 16,384 | 12.42M | 3.68M | +11.7% | 3.69M |
Changes:
- Python:
upload_state_arrayuploads raw state structs from host memory;download_internal_stateandupload_internal_statemove the wheel, solver and contact state a step carries over, so envs from a CUDA build continue exactly on a CPU build. Building with-DROCKETGPU_PY_MODULE_NAME=namerenames the module, so a CPU build loads beside a CUDA one. bench_cpp --replay FILEruns recorded game controls instead of random ones;tools/replay_controls.pymakes the file from the fullstate suite.- CPU builds: wheel rays and mesh ray casts run in SIMD lanes, the ISPC car pre-tick loads and stores without gathers or scatters, the world step skips more work and runs from one smaller code path, and small batches split into more pool tasks per thread. Same results bit for bit.
- Long runs stay bit-exact with the game more often: broadphase AABBs now match the game's, and car-mesh contacts no longer start a tick early.
- CUDA: kickoffs on a non-default stream no longer spawn every car at the origin.
- README: the speed table uses
bench_cpp --replayfor CUDA, CPU and RocketSim v3.
Behaviour changes:
- Broadphase AABBs and car-mesh contact timing follow the game, so long runs can step differently from 1.0.0 (closer to the game).