Hi,

when using the snes/ex12 example
https://bitbucket.org/petsc/petsc/src/f5476a2b443e0eedb22d31cb1b2d85b9b918f73f/src/snes/examples/tutorials/ex12.c?at=master
with

-variable_coefficient field  -petscfe_type opencl -mat_petscfe_type opencl

and

-dm_vec_type  viennacl -dm_mat_type seqaijviennacl -mat_type seqaijviennacl

will PetscFEIntegrateResidual_OpenCL transfer the residual vector directly
to the
viennacl datastructures on the GPU for the solve ?
is the output residual of PetscFEIntegrateResidual_OpenCL a vector on the
CPU ?


thanks,
David

Reply via email to