[petsc-dev] VecGetArrayAndMemType
Mark Adams
mfadams at lbl.gov
Wed Jun 23 09:15:25 CDT 2021
First, there seem to be two pages for VecGetArrayAndMemType (one has a
pointer to the other).
So I need to get a CPU array for HDF5 viewing. Totally broken for devices.
I don't find a VecGetArrayCpu[HOST] that does the right thing.
Perhaps have VecGetArrayAndMemType return a valid CPU pointer when
"mtype==NULL"?
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210623/4b82d3b8/attachment.html>
More information about the petsc-dev
mailing list