From 2b7224989a60f2abb4cfc547953d50c40778a38f Mon Sep 17 00:00:00 2001 From: arghdos <arghdos@gmail.com> Date: Wed, 15 Mar 2017 10:58:38 -0400 Subject: [PATCH] fix for issue #44 on gitlab --- loopy/preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopy/preprocess.py b/loopy/preprocess.py index 2b6d97c38..0d8e77195 100644 --- a/loopy/preprocess.py +++ b/loopy/preprocess.py @@ -539,7 +539,7 @@ def realize_reduction(kernel, insn_id_filter=None, unknown_types_ok=True): new_insn_add_depends_on.add(prev_id) new_insn_add_no_sync_with.add((prev_id, "any")) - new_insn_add_within_inames.add(stage_exec_iname or base_exec_iname) + new_insn_add_within_inames.add(base_exec_iname or stage_exec_iname) if nresults == 1: assert len(acc_vars) == 1 -- GitLab