Hi,

I am aware that PETSc recently supports solvers on GPU. I wonder whether PETSc 
supports MatShell with GPU solvers, i.e., I have a user-defined MatMult() 
function residing on the device, and I want to use MatShell directly with PETSc 
GPU solvers without any transfer back and forth between host and device. If 
this is possible, could you let me know how to do this (an example, if any, 
would be very appreciated)?

Thank you!
Han

Reply via email to