loki icon indicating copy to clipboard operation
loki copied to clipboard

Shape inference from allocations should be a utility/transformation

Open mlange05 opened this issue 1 year ago • 0 comments

The Scheduler constructor call _infer_allocatable_shapes (https://github.com/ecmwf-ifs/loki/blob/main/loki/subroutine.py#L131) routinely for every object. This is a remnant of the early days of Loki development and should be moved into the shape-handling transformation utility.

mlange05 avatar Nov 27 '23 03:11 mlange05