From edf3289d686e4ec1380b9a7233e063dc74717e67 Mon Sep 17 00:00:00 2001 From: James Osborn Date: Tue, 28 Jan 2025 22:08:40 -0600 Subject: [PATCH] increase min iterations to 10 --- src/bench/benchStagProp.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bench/benchStagProp.nim b/src/bench/benchStagProp.nim index e795526..46db819 100644 --- a/src/bench/benchStagProp.nim +++ b/src/bench/benchStagProp.nim @@ -60,11 +60,11 @@ threads: var sp = initSolverParams() sp.maxits = 10 s.solve(v2, v1, mass, sp) -sp.maxits = comm.broadcast int(1.0+(0.1*sp.iterations*maxtime)/sp.seconds) +sp.maxits = comm.broadcast int(10.0+(0.1*sp.iterations*maxtime)/sp.seconds) #echo "maxits: ", sp.maxits sp.resetStats s.solve(v2, v1, mass, sp) -sp.maxits = comm.broadcast int(1.0+(sp.iterations*maxtime)/sp.seconds) +sp.maxits = comm.broadcast int(10.0+(sp.iterations*maxtime)/sp.seconds) #echo "maxits: ", sp.maxits sp.resetStats resetTimers() @@ -94,11 +94,11 @@ var s3 = newStag3(g3) sp.resetStats sp.maxits = 10 s3.solve(v2, v1, mass, sp) -sp.maxits = comm.broadcast int(1.0+(0.1*sp.iterations*maxtime)/sp.seconds) +sp.maxits = comm.broadcast int(10.0+(0.1*sp.iterations*maxtime)/sp.seconds) #echo "maxits: ", sp.maxits sp.resetStats s3.solve(v2, v1, mass, sp) -sp.maxits = comm.broadcast int(1.0+(sp.iterations*maxtime)/sp.seconds) +sp.maxits = comm.broadcast int(10.0+(sp.iterations*maxtime)/sp.seconds) #echo "maxits: ", sp.maxits sp.resetStats resetTimers()