Clean separation between functionality of core and device. #1240
Labels
is:idea
Just a thought - if it's good, it could evolve into a proposal.
is:proposal
Maybe we should do something this way.
mod:all
This touches all Ginkgo modules.
This issue is in reference to the discussion regarding having sequential operations run on the host rather than on the device kernels (reference, openmp, cuda etc).
I would propose for having a clean separation between memory allocations/de-allocations and any operations that perform data manipulation. IMO, Ginkgo's philosophy has been to have the core orchestrate and dispatch the kernels, allocate and manage memory, but not perform any operations. This clean separation
I understand that this is a bit challenging due to the fact that for many algorithms (SpGEMM, SpGEAM and factorizations), in develop (and also in release) we currently combine both allocations and operations because separation is more difficult in those cases, especially where the algorithm is inherently sequential.
The text was updated successfully, but these errors were encountered: