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.