From 930ba506443b43d6783e7bed872700e74e20a8a2 Mon Sep 17 00:00:00 2001 From: meriadeg perrinel Date: Thu, 2 Mar 2023 17:26:40 +0100 Subject: [PATCH] #5: Rebased on develop and added kernels print_configuration call --- perf_test/Benchmark_Context.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perf_test/Benchmark_Context.hpp b/perf_test/Benchmark_Context.hpp index 0ef4910cc5..74f081b7d9 100644 --- a/perf_test/Benchmark_Context.hpp +++ b/perf_test/Benchmark_Context.hpp @@ -19,6 +19,8 @@ #ifndef KOKKOSKERNELS_PERFTEST_BENCHMARK_CONTEXT_HPP #define KOKKOSKERNELS_PERFTEST_BENCHMARK_CONTEXT_HPP +#include "KokkosKernels_PrintConfiguration.hpp" + #include #include @@ -46,6 +48,7 @@ std::string remove_unwanted_characters(std::string str) { void add_kokkos_configuration(bool verbose) { std::ostringstream msg; Kokkos::print_configuration(msg, verbose); + KokkosKernels::print_configuration(msg); // Iterate over lines returned from kokkos and extract key:value pairs std::stringstream ss{msg.str()};