From 989f63b2799a8c0b323bfa592421703f48146c4e Mon Sep 17 00:00:00 2001 From: Tim Warburton <timwar@caam.rice.edu> Date: Tue, 6 Nov 2012 02:19:14 -0600 Subject: [PATCH] Improve an error message in ILP private duplication. --- loopy/preprocess.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loopy/preprocess.py b/loopy/preprocess.py index 61aefce1c..98807b3b3 100644 --- a/loopy/preprocess.py +++ b/loopy/preprocess.py @@ -391,8 +391,8 @@ def duplicate_private_temporaries_for_ilp(kernel): if tv.name in var_to_new_ilp_inames: if new_ilp_inames != set(var_to_new_ilp_inames[tv.name]): raise RuntimeError("instruction '%s' requires adding " - "indices for ILP inames '%s', but previous " - "instructions required inames'%s'" + "indices for ILP inames '%s' on var '%s', but previous " + "instructions required inames '%s'" % (writer_insn_id, ", ".join(new_ilp_inames), ", ".join(var_to_new_ilp_inames[tv.name]))) -- GitLab