AccelerateHS / AccelerateHS/accelerate

Make it easier to retrieve multiple results from an Acc run.

オープン
#56 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
new feature
主要言語
Haskell
スター
1k
フォーク
135
PR マージ指標
30日以内にマージされた PR はありません

説明

I have written some Accelerate programs in which I end up using multiple "run"s, often just for debugging or diagnostic purposes, for example, to print intermediate results in the computation.

The frustrating thing is that because it includes array level tuples and Let's, Accelerate compiles arbitrary _graphs_ of array operations. So of course it's already possible to extract many arrays of varying types from a single Accelerate run.

However, putting all the results into a big tuple of arrays can be inconvenient, especially with all the lifting and unlifting business.

Can anyone think of a way to make it easer to construct entire Accelerate computation graphs with multiple outputs? Perhaps the analogy is to the State monad vs. ST. It would be nice to be able to virtually "run" accelerate multiple times within a monad, but really only call a single run.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。