Repository navigation
v1
Arena-ticks/s from bench_cpp. 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.
| Arenas | RocketGPU CUDA | RocketGPU CPU | CPU vs previous release | RocketSim v3 |
|---|---|---|---|---|
| 96 | 0.64M | 3.76M | +21.9% | 1.25M |
| 256 | 1.46M | 4.56M | +7.2% | 2.35M |
| 512 | 2.50M | 4.71M | +9.3% | 3.43M |
| 1,024 | 4.35M | 4.81M | +12.4% | 4.21M |
| 4,096 | 10.17M | 4.72M | — | 5.02M |
| 8,192 | 12.32M | 4.74M | — | 4.88M |
| 16,384 | 12.75M | 5.12M | — | 5.04M |
Changes:
- Version 1.0.0 (
rocketgpu_py.__version__). tools/bench_cpp: a C++ throughput benchmark running RocketSim v3'sarena_scale_v3training workload (-DROCKETGPU_BUILD_BENCH=ON; needs C++20, and with CUDA, CMake 3.25.2+ and CUDA 12+).- CPU builds: the ball pre-tick runs in ISPC lanes across envs, the car pre-tick keeps its four wheels in vector lanes, boost pads visit only each tick's candidate pads, cars with no static contact skip the world solve, wheel rays and mesh queries walk fewer mesh entries, and thread-pool workers wait through the short gaps between steps instead of sleeping. Mirrored-respawn batches step together on the ISPC path, and the default thread count is two fewer than the CPU count on machines with 8+ CPUs (except Apple). Same results bit for bit.
- BatchSim: a control stride of 0 holds one row of controls for every tick.
- README: speed table from
bench_cpp, CUDA and CPU vs RocketSim v3; accuracy on fullstate suite v3.
Behaviour changes:
kickoff_seed0 (the default) gives each env a new kickoff shuffle on every reset; it used to repeat the same layout per env.- RocketSim compat:
Arenauses RocketGPU's own kickoff and respawn draws instead of mirroring RocketSim's, so kickoff spots and respawns no longer match RocketSim's for the same seed, andSetRespawnRngSeedhas no effect. Compat Arenas step on the faster batched path. - Build: ISPC kernels are on by default on Apple arm64 too.