diff --git a/test/test_loopy.py b/test/test_loopy.py index 15328ece6baa5dda2e81ad32e8f935a95e0af76d..c9648a46efe3b718a7cac6df9dac02437e4e72ef 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -910,6 +910,38 @@ def test_domain_dependency_via_existentially_quantified_variable(ctx_factory): +def test_double_sum(ctx_factory): + dtype = np.float32 + ctx = ctx_factory() + queue = cl.CommandQueue(ctx) + + n = 20 + + knl = lp.make_kernel(ctx.devices[0], [ + "{[i,j]: 0<=i,j