AccelerateHS / AccelerateHS/accelerate-backend-kit

Expand SizeAnalysis into a full simplifier pass

未關閉
#12 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Haskell
星號
16
分支
2
PR 合併指標
30 天內沒有已合併 PR

描述

I can't think of a good way to separate these two. This pass should do standard partial evaluation / delta-reduction, and should also label the known sizes that result.

Right now it only gets the easy stuff. It should be hooked up to the interpreter so that it can go further.

In fact, we should find that the combinator-based representation of arrays should be better for static evaluation. For example, lookups into arrays created by `generate` should often be statically computable if that is needed to compute the shape of something else. [Still, we have to avoid executing the whole Accelerate program, because it actually is a complete, ready-to-run program.]

The other thing to be careful of is that we need to preclude having an effective caching system to avoid recompilation.

貢獻指南

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

評估

這個 Issue 還沒有評估資料。

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

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