inducer / inducer/arraycontext
Dealing with constants in `freeze`
- Dominant language
- Python
- Stars
- 9
- Forks
- 11
- Avg merge
- 17h 12m
- Merged PRs (30d)
- 2
Description
Right now, I think we bake constants into the code no matter what, at considerable expense. (For example, we might recompile every time the time step changes.) Maybe defaulting the other way (replace every numerical constant with a variable) is better?
cc @kaushikcfd @matthiasdiener
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the freeze implementation and how numerical constants are handled during code generation. Compare the current constant-baking behavior with replacing constants by variables, including the recompilation cost when the time step changes; done requires a decided strategy and corresponding validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100