Generically, independent of Kokkos,  ideally I would run a single precompiled NVIDIA program that gave me all the information about the current hardware I was running and that would provide in simple format exactly the information I needed to configure PETSc, Kokkos etc for THAT system.

I will try to write something for you tomorrow.  For NVIDIA hardware, the sole dependency will be nvcc.

Jeff

--
Jeff Hammond
jeff.science@gmail.com
http://jeffhammond.github.io/