riveSunder / fractal_persistence

Investigating fractal persistence boundaries for motile pseudorganisms
0 stars 0 forks source link

Benchmark `v_stability_sweep` against `stability_sweep` #19

Open riveSunder opened 3 months ago

riveSunder commented 3 months ago

(Both JAX versions)

v_stability_sweep vectorized, but that means that cells that aren't doing anything useful continue to get computed until all cells in the vector are finished

stability_sweep computes each cell individually, so it doesn't make good use of the GPU but does end simulations as soon as they explode/vanish or reach max_t

riveSunder commented 2 months ago

The naive stability_sweep is superseded by the CPU-parallelized mpi_sweep.