message: Kokkos: Initialize/Finalize Kokkos in Driver
diff: // SPDX-License-Identifier: (BSD-3-Clause)
  //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
  +#ifdef RUN_KOKKOS
  +#include <Kokkos_Core.hpp>
  +#endif
  +
  #include "common/Executor.hpp"
  #include <iostream>
  @@ -24,6 +28,9 @@ int main( int argc, char** argv )
  MPI_Comm_size(MPI_COMM_WORLD, &num_ranks);
  rajaperf::getCout() << "\n\nRunning with " << num_ranks << " MPI ranks..." << std::endl;
  #endif
  +#ifdef RUN_KOKKOS
  + Kokkos::initialize(argc, argv);
  +#endif
  // STEP 1: Create suite executor object
  rajaperf::Executor executor(argc, argv);
  @@ -43,6 +50,9 @@ int main( int argc, char** argv )
  rajaperf::getCout() << "\n\nDONE!!!...." << std::endl;
  +#ifdef RUN_KOKKOS
  + Kokkos::finalize();
  +#endif
  #ifdef RAJA_PERFSUITE_ENABLE_MPI
  MPI_Finalize();
  #endif
  