[petsc-dev] Backend independent VecGetArray for GPUs

Lisandro Dalcin dalcinl at gmail.com
Mon Oct 27 07:35:18 CDT 2014


On 27 October 2014 15:20, Ashwin Srinath <ashwinsrnth at gmail.com> wrote:
> The corresponding "restore" function doesn't really restore anything. You
> could consider naming it Vec.updateGPUstatus or Vec.GPUGetLatest or
> something of that sort.
>

Well, by using "restore" I'm just following standard PETSc naming
conventions. You comment also apply to the C API call. Also, I'll not
use "GPU", later we will add similar support for OpenCL, and "GPU" is
definitely not appropriate for it.


-- 
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Numerical Porous Media Center (NumPor)
King Abdullah University of Science and Technology (KAUST)
http://numpor.kaust.edu.sa/

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 4332
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa

Office Phone: +966 12 808-0459



More information about the petsc-dev mailing list