Method
NumCosmoMathFitMCkeep_order
Declaration [src]
void
ncm_fit_mc_keep_order (
NcmFitMC* mc,
gboolean keep_order
)
Description [src]
When running with more than one thread, resample() calls race to claim
the next catalog row, so which physical realization lands in which row
is otherwise scheduling-dependent (not reproducible run to run, even for
the same seed). Setting keep_order to TRUE forces the resample step to
execute in strict loop-iteration order across all threads (only the
subsequent, expensive fit still runs in parallel), making the catalog’s
row order deterministic and reproducible regardless of thread count.