From 93916f400d176a3058572479b62f7781d89168c7 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 25 Jun 2015 10:59:53 +0100 Subject: [PATCH] Update Benchmark_comms.cc --- benchmarks/Benchmark_comms.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/benchmarks/Benchmark_comms.cc b/benchmarks/Benchmark_comms.cc index a24e7ed8..5a85269e 100644 --- a/benchmarks/Benchmark_comms.cc +++ b/benchmarks/Benchmark_comms.cc @@ -26,7 +26,10 @@ int main (int argc, char ** argv) for(int lat=4;lat<=32;lat+=2){ for(int Ls=1;Ls<=16;Ls*=2){ - std::vector latt_size ({lat,lat,lat,lat}); + std::vector latt_size ({lat*mpi_layout[0], + lat*mpi_layout[1], + lat*mpi_layout[2], + lat*mpi_layout[3]}); GridCartesian Grid(latt_size,simd_layout,mpi_layout);