-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
store comonad as Delay array #5
Comments
They are good for doing stencils (e.g., solving partial differentials) - and you can have a store comonad (for a delayed array) and an a comonad over an actual array with a comonad morphism to map between the two. |
@dorchard it also seems like the only sane machinery for supporting any form of array fusion that can be easily split to run in parallel (afaik). Or am I missing something in that idea This won't be in the alpha version, but noting it for myself for the next release in another month or two thereafter |
@dorchard btw, you should lurk on #numerical-haskell on freenode :) |
@dorchard any good reading on the pde use case? |
I thought about this more, and the PDE example only seems to make sense if the mesh/grid is rectangular (or a multidimensional version thereof). Is there a decent way of reformulating it that doesn't turn into a dynamic "graph neighbor" calculation? (Not that theres any problem with that :) ) |
Re parallel/fusion: yes I think the work on Repa provides some nice performance here. |
this idea intrigues me :)
The text was updated successfully, but these errors were encountered: