From c24d4c8d0ee9f246205f51bbfc379b795593c70c Mon Sep 17 00:00:00 2001 From: paboyle Date: Tue, 5 Dec 2017 13:01:10 +0000 Subject: [PATCH] Improved parallel RNG init --- lib/lattice/Lattice_rng.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lattice/Lattice_rng.h b/lib/lattice/Lattice_rng.h index 11d8e325..d5190e63 100644 --- a/lib/lattice/Lattice_rng.h +++ b/lib/lattice/Lattice_rng.h @@ -159,9 +159,11 @@ namespace Grid { // and margin of safety is orders of magnitude. // We could hack Sitmo to skip in the higher order words of state if necessary ///////////////////////////////////////////////////////////////////////////////////// + // uint64_t skip = site+1; // Old init Skipped then drew. Checked compat with faster init uint64_t skip = site; skip = skip<<40; eng.discard(skip); + // std::cout << " Engine " <