ddemidov/amgcl

input GPU data directly into CUDA solver

MakotoChiba opened this issue · 2 comments

Hi,
How can I use my matrix data(I, J, N, val) on CUDA memory to the AMGCL CUDA solver?
Currently, I copy those data from CUDA memory to main mamory once time and use make_tuple for initialize.
But it is really waist. I want to use GPU data directory for the solver.
Can I make it??

Unfortunately, this is not possible with amgcl. In the library the setup is done completely on the cpu side and the results are then transferred to gpu memory.

You can try nvidia's amgx, as I believe the setup is done gpu-side there. I have also seen some work done based on amgcl where the setup is done on the gpu-side (https://doi.org/10.1007/978-3-031-11623-0_10), but I am not sure if the work has been open-sourced.

hi ddemidov,
Thank you very much for explain and suggest. I will try to check amgx.
But don't you have any plan for it?