Dagger.jl icon indicating copy to clipboard operation
Dagger.jl copied to clipboard

Allow eager scheduler to accept non-eager thunks

Open jpsamaroo opened this issue 4 years ago • 0 comments

And allow lazy schedulers to accept eager thunks? Without cache-sharing between schedulers, this will be rather inefficient, but could potentially be helpful for code which already has Thunks describing a computation (such as when provided by a library).

The alternative is the status quo: collect Thunk arguments before passing them to the eager scheduler, and fetch EagerThunk arguments before passing them to a lazy scheduler.

jpsamaroo avatar Dec 26 '20 15:12 jpsamaroo