inducer / inducer/arraycontext
How should lazy actx.compile interact with memoization (on the output end)?
- 主要语言
- Python
- 星标
- 9
- 派生
- 11
- 平均合并
- 17 小时 12 分钟
- 30 天内合并 PR
- 2
描述
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
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。