inducer / inducer/arraycontext
How should lazy actx.compile interact with memoization (on the output end)?
- Dominant language
- Python
- Stars
- 9
- Forks
- 11
- Avg merge
- 17h 12m
- Merged PRs (30d)
- 2
Description
This is a longer-shot companion issue to https://github.com/inducer/pytato/issues/164 (and https://github.com/inducer/arraycontext/issues/99).
Suppose an `actx.compile`d function evaluates something that's memoized (for the sake of argument, imagine a temperature in mirgecom). After the compiled evaluation concludes, the memoization of dependent data becomes unavailable, since we're now working on a different array (/array container) instance. It'd be nice if that weren't the case.
(This isn't immensely relevant for mirgecom, since the output of the `compile`d function will typically be fed into a time integrator, which would invalidate any memoized temperature anyhow.)
cc @kaushikcfd
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.