Jeff,

      Likely deviceQuery provides more than enough information; sometimes it is prebuilt but it seems now it is only provided as source code so the user needs to build it (and the Makefile is huge :-)). I think it would be enough if NVIDIA just always provided prebuilt deviceQuery in a standard location.

  Barry


On Apr 6, 2021, at 12:42 AM, Jeff Hammond <jeff.science@gmail.com> wrote:


    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

--