Skip to content

Commit

Permalink
Merge pull request #2372 from devitocodes/ser-halotouch
Browse files Browse the repository at this point in the history
compiler: sequentialise halo touch
  • Loading branch information
mloubout authored May 15, 2024
2 parents 593d2a7 + c6604ab commit 9e220ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion devito/ir/clusters/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 9e220ae

Please sign in to comment.