[petsc-dev] Kokkos initialize

Mark Adams mfadams at lbl.gov
Thu Oct 15 18:49:40 CDT 2020

I am running a on SUMMIt with a Kokkos cuda configuration and while
debugging with ddt I noticed that it spent a long time in KokkosInit, but I
was not using Kokkos. KokkosInit was call in PETSc's GPU init, which seems
logical enough, but it would be better if it is not called if you are not
using Kokkos.

I recall seeing places where Kokkos is checked when calling a Kokkos method
(ie, lazy initialization). Do we have policy on whether we are being lazy
with KokkosInit or not?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20201015/1af559d3/attachment.html>

More information about the petsc-dev mailing list