diff --git a/devito/ir/clusters/algorithms.py b/devito/ir/clusters/algorithms.py index dfe34006c4..1d2770a657 100644 --- a/devito/ir/clusters/algorithms.py +++ b/devito/ir/clusters/algorithms.py @@ -433,7 +433,7 @@ def callback(self, clusters, prefix, seen=None): key = lambda i: i in prefix[:-1] or i in hs.loc_indices ispace = c.ispace.project(key) - # HaloTouch's are not parallel + # HaloTouches are not parallel properties = c.properties.sequentialize() halo_touch = c.rebuild(exprs=expr, ispace=ispace, properties=properties) diff --git a/devito/operator/operator.py b/devito/operator/operator.py index 10145ce937..297ac544ee 100644 --- a/devito/operator/operator.py +++ b/devito/operator/operator.py @@ -990,14 +990,13 @@ def lower_perfentry(v): for k, v in summary.items(): rank = "[rank%d]" % k.rank if k.rank is not None else "" + name = "%s%s" % (k.name, rank) if v.time <= 0.01: # Trim down the output for very fast sections - name = "%s%s" % (k.name, rank) perf("%s* %s ran in %.2f s" % (indent, name, fround(v.time))) continue - name = "%s%s" % (k.name, rank) metrics = lower_perfentry(v) perf("%s* %s ran in %.2f s %s" % (indent, name, fround(v.time), metrics)) for n, v1 in summary.subsections.get(k.name, {}).items():