how to use amgcl with gpu
gujintian1 opened this issue · 3 comments
gujintian1 commented
Hello, I want to use anmgcl and cuda to accelerate the solution of sparse linear equations, but the document of amgcl does not give an example of the solution on gpu. I would like you to give an example of how to use gpu to accelerate the solution of the equation. For example, matrix an and vectors b and x are stored on the device, and these data can be accessed in the cuda kernel function. How should I implement this? thank you very much.
gujintian1 commented
ddemidov commented
Please have a look at this tutorial, it has the example of using CUDA backend with amgcl: https://amgcl.readthedocs.io/en/latest/tutorial/poisson3Db.html
gujintian1 commented
thank you very much!