Re: [petsc-dev] Matshell with PETSs solvers using GPU

2023-12-13 Thread Han Tran
2, 2023, at 8:11 PM, Jed Brown wrote: >> >> Han Tran writes: >> >>> Hi Jed, >>> >>> Thank you for your answer. I have not had a chance to work on this since I >>> asked. I have some follow-up questions. >>> >>> (1) From the

[petsc-dev] Matshell with PETSs solvers using GPU

2022-11-04 Thread Han Tran
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

[petsc-dev] GPU performance of MatSOR()

2022-07-27 Thread Han Tran
Hello, Running my example using VECMPICUDA for VecSetType(), and MATMPIAIJCUSP for MatSetType(), I have the profiling results as shown below. It is seen that MatSOR() has %F of GPU, only has GpuToCpu count and size. Is it correct that PETSc currently does not have MatSOR implemented on GPU? It

[petsc-dev] Using SOR preconditioner for matshell

2021-11-10 Thread Han Tran
my lengthy email. I just want to explain the problem as much as I can. I look forward to your answers. Han Tran