In a cloth or fluid simulation, a faster GPU is only part of the story: repeated kernel launches, particle reordering and solver convergence can dominate each step. EvoX Physics’s December 3 main-branch engine pass addresses those costs and adds fp32 support to its Semi-Analytic Primal (SAP) contact coupler. The accompanying MI300X record makes the gains inspectable workload by workload, including the cases that need further numerical or memory scrutiny. Engine change · Measurement record

Concept illustration of cloth, particles and contact; numerical results appear in the text below.
Reduce repeated work inside a simulation step
The changes concentrate on how work reaches the device. The spatial hasher uses a chunked, grouped prefix-sum layout. PBD combines compatible particle passes, reduces full-array copies and skips collision launches only when the material predicate makes their body inert. Mixed-material scenes still take the collision path. These distinctions explain why the cloth workloads improve much more than the standalone SPH liquid scene. PBD implementation · Engine changes
SAP takes a related approach to iteration overhead. It groups PCG and line-search iterations into kernel launches, checks active environments between blocks and respects the configured iteration caps. Its tolerances scale with the floating-point type, allowing the same coupler to run in fp32 or fp64. The newton_cost_stop option controls the new cost-decrease stopping rule; the coupler also requires the FEM solver’s implicit free solve. Those are meaningful solver settings when comparing results, not just implementation details. SAP implementation
Where the measured time went
The project compared revision 55828c8 with a4a0a55 on an AMD Instinct MI300X VF, using IREE on rocm:0, Python 3.12.3 and IREE 3.13.0. Each workload ran in a fresh child process with --repeat 2; the published row is the first run, while repeats provide checks rather than an averaged timing. Warm-up precedes synchronized step timing. These are upstream measurements. Protocol and full table
| Workload | Before, ms/step | After, ms/step | Speedup |
|---|---|---|---|
| SPH liquid | 47.811 | 44.550 | 1.07× |
| PBD liquid | 43.875 | 14.095 | 3.11× |
| PBD cloth | 338.881 | 20.516 | 16.52× |
| Cloth–rigid coupling | 336.250 | 17.879 | 18.81× |
| FEM/SAP fp64 | 129.862 | 61.066 | 2.13× |
The newly supported FEM/SAP fp32 case records 61.499 ms/step with 977 vertices. It has no earlier successful run, so there is no fp32 speedup ratio. The source’s 4.016× geometric mean combines eight comparable workload ratios, including particle-getter I/O measured per call. It is not a uniform simulation-step improvement. The getter itself falls from 1.858428 to 0.216491 ms/call. Structured results
Read speed, state and memory together
For a developer iterating on cloth contact, the large step-time reduction makes short comparisons more practical. Numerical checks still determine whether a configuration is suitable. The committed record compares order-invariant position summaries, not full trajectory equality. FEM/SAP fp64 and SPH–rigid coupling exceed their documented checksum envelopes: 0.021404 versus 0.0064, and 0.037824 versus 0.014. The upstream notes discuss mesh and host-order nondeterminism; these flags remain part of the result. Checksum discussion
Memory also changes. Recorded peak device memory rises from 2,204 to 4,836 MiB for PBD liquid and from 2,286 to 6,978 MiB for cloth–rigid coupling. The exact allocation site is not yet attributed. Sampling uses a 20 ms poll, so brief peaks can be missed. A faster step does not automatically permit a larger scene on a memory-constrained accelerator.
Recheck the scene you actually use
Use the linked benchmark driver and reproduction instructions to select a matching workload, preserve precision and solver options, and compare counts, state checks and memory alongside timing. Run one GPU process at a time, as the recorded protocol requires. The raw before/after files were scratch artifacts; the committed summary is the durable public record.
For visual inspection, combine these checks with SceneRecorder and the offline examples. Keep a short recording of the contact behavior, then increase scene size only after understanding both the numerical checks and device footprint. The engine pass also removes unused backend paths and options, so existing configurations should be checked against the current solver options when moving to this source revision.