From c6604ab346f30542b4bc154c35fab0ac9055981e Mon Sep 17 00:00:00 2001 From: mloubout Date: Wed, 15 May 2024 08:33:02 -0400 Subject: [PATCH] compiler: sequentialize halo touch --- devito/ir/clusters/algorithms.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devito/ir/clusters/algorithms.py b/devito/ir/clusters/algorithms.py index af8eee97cf..043f0121e5 100644 --- a/devito/ir/clusters/algorithms.py +++ b/devito/ir/clusters/algorithms.py @@ -419,8 +419,10 @@ 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 are not parallel + properties = c.properties.sequentialize() - halo_touch = c.rebuild(exprs=expr, ispace=ispace) + halo_touch = c.rebuild(exprs=expr, ispace=ispace, properties=properties) processed.append(halo_touch) seen.update({halo_touch, c})