meshmode icon indicating copy to clipboard operation
meshmode copied to clipboard

Freeze constant arrays

Open kaushikcfd opened this issue 3 years ago • 2 comments

kaushikcfd avatar Oct 13 '22 04:10 kaushikcfd

Rerunning to check how things go now that https://github.com/inducer/arraycontext/pull/203 is in.

inducer avatar Oct 14 '22 14:10 inducer

As discussed, I think I would prefer to do this as part of a more general constant folding pass in pytato. (And in this particular case, I think the temporaries being produced are DOFArray-sized, which I find fairly big.)

inducer avatar Oct 14 '22 23:10 inducer