Skip to content

Commit

Permalink
compiler: Patch cire-rotate
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Oct 21, 2024
1 parent 154140f commit bac17a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion devito/passes/clusters/aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,9 @@ def optimize_schedule_rotations(schedule, sregistry):
iis = candidate.lower
iib = candidate.upper

ii = ModuloDimension('%sii' % d.root.name, ds, iis, incr=iib)
name = sregistry.make_name(prefix='%sii' % d.root.name)
ii = ModuloDimension(name, ds, iis, incr=iib)

cd = CustomDimension(name='%sc' % d.root.name, symbolic_min=ii,
symbolic_max=iib, symbolic_size=n)
dsi = ModuloDimension('%si' % ds.root.name, cd, cd + ds - iis, n)
Expand Down

0 comments on commit bac17a1

Please sign in to comment.