[petsc-users] PetscFEIntegrateResidual_OpenCL w/ viennacl

David Fuentes fuentesdt at gmail.com
Mon Oct 13 12:59:43 CDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141013/b1210c43/attachment.html>


More information about the petsc-users mailing list