inducer / inducer/arraycontext
actx.tag() comes too late to benefit eager mode execution
- Langage dominant
- Python
- Étoiles
- 9
- Forks
- 11
- Merge moyen
- 17 h 12 min
- PR mergées (30 j)
- 2
Description
For lazy mode, `actx.tag(MyTag(), 2*x+3)` works great. For eager mode, this doesn't help at all, as the result will already be computed (i.e. the kernel whose transformation would have benefited from the metadata was already executed). Is there a tagging interface that can work for both eager and lazy?
cc @alexfikl @thomasgibson @nchristensen @kaushikcfd
x-ref: inducer/meshmode#176
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by reading the actx.tag() implementation and tracing how tagged expressions are handled in lazy and eager execution. Determine the interface needed for metadata to affect the relevant kernel before eager computation, and verify that the behavior works consistently in both modes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100