From 5f6d79e36aa9bbfbd35c8c9883621a938f8581a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Mon, 8 Nov 2021 22:43:25 -0600 Subject: [PATCH] Drop "implementation" (iname) tags label in kernel stringify --- doc/tutorial.rst | 4 ++-- loopy/kernel/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 4cdad2ad4..2671de282 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -119,7 +119,7 @@ always see loopy's view of a kernel by printing it. DOMAINS: [n] -> { [i] : 0 <= i < n } --------------------------------------------------------------------------- - INAME IMPLEMENTATION TAGS: + INAME TAGS: i: None --------------------------------------------------------------------------- INSTRUCTIONS: @@ -702,7 +702,7 @@ Iname implementation tags are also printed along with the entire kernel: >>> print(knl) --------------------------------------------------------------------------- ... - INAME IMPLEMENTATION TAGS: + INAME TAGS: i_inner: unr i_outer: None --------------------------------------------------------------------------- diff --git a/loopy/kernel/__init__.py b/loopy/kernel/__init__.py index 2f39614b8..7425f0d3f 100644 --- a/loopy/kernel/__init__.py +++ b/loopy/kernel/__init__.py @@ -1357,7 +1357,7 @@ class LoopKernel(ImmutableRecordWithoutPickling, Taggable): if "tags" in what: lines.extend(sep) if show_labels: - lines.append("INAME IMPLEMENTATION TAGS:") + lines.append("INAME TAGS:") for iname in natsorted(kernel.all_inames()): tags = kernel.iname_tags(iname) -- GitLab