[petsc-users] query device matrix for what it is up-to-date

Mark Adams mfadams at lbl.gov
Mon Nov 29 19:03:40 CST 2021


If I ask for a kokkos matrix norm, is there a way to know if it is using
the device or host data? I assume they are both up to date after the norm
unless it calls a GPU norm method, but I would like to know which memory
was "active" before the norm.

And does anyone know if aijcusparse matrices have the same semantics?

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211129/c0f96527/attachment.html>


More information about the petsc-users mailing list