The corresponding "restore" function doesn't really restore anything. You could consider naming it Vec.updateGPUstatus or Vec.GPUGetLatest or something of that sort.
Thanks Ashwin On 27 Oct 2014 06:30, "Lisandro Dalcin" <[email protected]> wrote: > On 27 October 2014 13:49, Lisandro Dalcin <[email protected]> wrote: > > 1) petsc4py will provide a method Vec.getCUDAAddress() that will > > return a plain Python integer (and a corresponding > > restoreCUDAAddress()). Any other name to suggest? Using "CUDAArray" > > would be a bit misleading in Python land. > > Perhaps "getCUDAHandle()" is better? Please help me to decide, I'm > really bad at naming things. > > > -- > 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 >
