inducer / inducer/arraycontext

actx.tag() comes too late to benefit eager mode execution

未關閉
#5 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
9
分支
11
平均合併
17 小時 12 分鐘
30 天內合併 PR
2

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
backend
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。