Closed gysit closed 4 years ago
example syntax:
%0 = stencil.dyn_access %in(%i, %j %k) in ([-3, -3, 0]:[3, 3, 0]) : (stencil.temp<?x?x?xf32>) -> f32
open questions: does it make more sense to specify the access range using absolute or relative offsets?
add stencil accesses that access an array a dynamic offset. We may still may want to provide static bounds somehow to enable shape inference. Ideally the bounds should be defined for the accessed fields and probably not local relative to the current position.