Thank you Barry, sounds great. I'll try it out in the next weeks! Is copy data such a bottleneck with respect to the solving time in your opinion? I am not scared of building stuff on gpu directly, I basically assemble the petsc matrix and rhs in one point so it would be ok doing stuff on gpu directly. Is aij format ok for gpu or better CSR?
Cheers. Il Dom 25 Ago 2024, 13:49 Edoardo alinovi <edoardo.alin...@gmail.com> ha scritto: > Hello Petsc friends, > > As many people is doing, I would like to explore a bit gpu capabilities > (cuda) in petsc. > > Before attemping any coding effort I would like to hear from you if all of > this make sense: > - compile mpi with cuda support > - compile petsc with cuda support > - build matrix and vectors as MATAIJCUSPARSE and VECMPICUDA to tell petsc > using gpu. > > That's really it or do I need to take care of something else? > > I have seen that there is an amgXWrapper library aroud, but not sure if it > is still relevant now or not. > > Thank you for the suggestions! > > >