From a8861c44a4ef2d4d79a195b61b2664e7fa0cb65e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 6 Apr 2015 14:54:30 -0500 Subject: [PATCH] Add test_fd_1d --- test/test_loopy.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/test_loopy.py b/test/test_loopy.py index 564291316..09703e481 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -1760,6 +1760,26 @@ def test_fd_demo(ctx_factory): assert "double" not in code +def test_fd_1d(ctx_factory): + ctx = ctx_factory() + + knl = lp.make_kernel( + "{[i]: 0<=i