From d74a8f645cd65322172d424dd23b4b914c46e166 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 28 Jan 2014 18:25:50 -0600 Subject: [PATCH] Fix options usage in test_slab_decomposition_does_not_double_execute --- test/test_loopy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_loopy.py b/test/test_loopy.py index 95b8dd349..80ff20c51 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -1635,7 +1635,8 @@ def test_slab_decomposition_does_not_double_execute(ctx_factory): a_knl = a.copy() evt, _ = ref_knl(queue, a=a_ref) - evt, _ = knl(queue, a=a_knl, flags="write_cl") + knl = lp.set_options(knl, "write_cl") + evt, _ = knl(queue, a=a_knl) assert (a_ref == a_knl).get().all() 1/0 -- GitLab