[petsc-users] code changes from CPU to GPU