diff --git a/patches/loopy/0001-bugfix-Pass-mapper-args-into-recursion-for-predicate.patch b/patches/loopy/0001-bugfix-Pass-mapper-args-into-recursion-for-predicate.patch new file mode 100644 index 0000000000000000000000000000000000000000..f99b0f1ff7b280c438e30fb1647174a7e95113a4 --- /dev/null +++ b/patches/loopy/0001-bugfix-Pass-mapper-args-into-recursion-for-predicate.patch @@ -0,0 +1,26 @@ +From 3dc64b24f43c632af3526eda6de929efe3fae5ba Mon Sep 17 00:00:00 2001 +From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> +Date: Mon, 21 Nov 2016 13:11:31 +0100 +Subject: [PATCH] [bugfix] Pass mapper args into recursion for predicates + +Fixes regression introduced in 8c5365c96 +--- + loopy/kernel/instruction.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/loopy/kernel/instruction.py b/loopy/kernel/instruction.py +index 5289162..b306e6e 100644 +--- a/loopy/kernel/instruction.py ++++ b/loopy/kernel/instruction.py +@@ -1173,7 +1173,7 @@ class CInstruction(InstructionBase): + for name, expr in self.iname_exprs], + assignees=[f(a, *args) for a in self.assignees], + predicates=frozenset( +- f(pred) for pred in self.predicates)) ++ f(pred, *args) for pred in self.predicates)) + + # }}} + +-- +2.1.4 + diff --git a/python/loopy b/python/loopy index 20f15dcb423107500c4d63636ccf54ae76270450..1bd7777c599baf4a12b1560f2486236f994a51a3 160000 --- a/python/loopy +++ b/python/loopy @@ -1 +1 @@ -Subproject commit 20f15dcb423107500c4d63636ccf54ae76270450 +Subproject commit 1bd7777c599baf4a12b1560f2486236f994a51a3