From 542e9756758f40c58f0503a4d0c7c993ec3137c2 Mon Sep 17 00:00:00 2001 From: Matt Wala <wala1@illinois.edu> Date: Sat, 15 Jul 2017 20:18:39 -0500 Subject: [PATCH] test_nested_scan(): Declare the dtype of tmp (I think it's fair that it fails without this.) --- test/test_scan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_scan.py b/test/test_scan.py index 08754819c..c225c2c1c 100644 --- a/test/test_scan.py +++ b/test/test_scan.py @@ -182,6 +182,7 @@ def test_nested_scan(ctx_factory, i_tag, j_tag): knl = lp.fix_parameters(knl, n=10) knl = lp.tag_inames(knl, dict(i=i_tag, j=j_tag)) + knl = lp.add_dtypes(knl, dict(tmp=int)) knl = lp.realize_reduction(knl, force_scan=True) print(knl) -- GitLab