From a7d7566a5c56ad6754d9254acada7bef7c8562eb Mon Sep 17 00:00:00 2001 From: "Timothy A. Smith" Date: Tue, 3 Sep 2019 01:31:14 -0500 Subject: [PATCH] set warmup_rounds to 0 --- tests/test_flux_derivatives.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_flux_derivatives.py b/tests/test_flux_derivatives.py index 4fb26d4..aaa0e43 100644 --- a/tests/test_flux_derivatives.py +++ b/tests/test_flux_derivatives.py @@ -24,7 +24,7 @@ def test_compute_flux_derivatives(ctx_factory): queue = u.get_queue(ctx_factory) prg = prg.copy(target=lp.PyOpenCLTarget(queue.device)) - lp.auto_test_vs_ref(prg, ctx_factory(), warmup_rounds=1, + lp.auto_test_vs_ref(prg, ctx_factory(), warmup_rounds=0, parameters=dict(ndim=3, nvars=5, nx=16, ny=16, nz=16)) @@ -40,7 +40,7 @@ def test_compute_flux_derivatives_gpu(ctx_factory, write_code=False): if write_code: u.write_target_device_code(prg) - lp.auto_test_vs_ref(prg, ctx_factory(), warmup_rounds=1, + lp.auto_test_vs_ref(prg, ctx_factory(), warmup_rounds=0, parameters=dict(ndim=3, nvars=5, nx=16, ny=16, nz=16)) -- GitLab