[petsc-dev] Residual evaluation on GPU using OpenCL

Mani Chandra mc0710 at gmail.com
Mon Jan 13 21:28:58 CST 2014


Hi,

ex42 shows how one can do the residual evaluation on the GPU but it uses
Cusp and Thrust. Is there any way one can use OpenCL to evaluate the
residual on the GPU without copying the data back and forth from the CPU
after each iteration?

Also, what is the difference between -da_vec_type seqcusp and -dm_vec_type
seqcusp?

Cheers,
Mani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140113/fd871b54/attachment.html>


More information about the petsc-dev mailing list