From c5799ed5b8f980522823eca71a4b3072bd9f4795 Mon Sep 17 00:00:00 2001 From: arghdos <arghdos@gmail.com> Date: Wed, 12 Jul 2017 20:55:30 -0400 Subject: [PATCH] add ILP / UNR test --- test/test_c_execution.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_c_execution.py b/test/test_c_execution.py index 576a61f6a..bf8fce262 100644 --- a/test/test_c_execution.py +++ b/test/test_c_execution.py @@ -157,7 +157,7 @@ def test_c_optimizations(): # test with ILP knl, sizes = __get_kernel('C') - lp.split_iname(knl, 'i', 4, inner_tag='ilp') + knl = lp.split_iname(knl, 'i', 4, inner_tag='ilp') a_np = np.reshape(np.arange(np.product(sizes), dtype=np.float32), sizes, order='C') @@ -166,7 +166,7 @@ def test_c_optimizations(): # test with unrolling knl, sizes = __get_kernel('C') - lp.split_iname(knl, 'i', 4, inner_tag='unr') + knl = lp.split_iname(knl, 'i', 4, inner_tag='unr') a_np = np.reshape(np.arange(np.product(sizes), dtype=np.float32), sizes, order='C') -- GitLab