diff --git a/test/test_loopy.py b/test/test_loopy.py index 579215092a41ef3f5b512d1c0e2010a52922c885..5a7c28cacbe431e500c5acadc7d61910a13526c3 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -1934,6 +1934,9 @@ def test_unscheduled_insn_detection(): def test_integer_reduction(): + ctx = ctx_factory() + queue = cl.CommandQueue(ctx) + n = 200 for vtype in [np.int32, np.int64]: var_int = np.random.randint(1000, size=n, dtype=vtype)