Skip to content

Commit

Permalink
#5: moved print_configuration to header only file and added its test
Browse files Browse the repository at this point in the history
  • Loading branch information
mperrinel authored and meriadegp committed Feb 14, 2023
1 parent cc11c6d commit b60e991
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 112 deletions.
2 changes: 0 additions & 2 deletions common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ LIST(APPEND KK_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/common/unit_test)
# Adding unit-tests
KOKKOSKERNELS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/common)
KOKKOSKERNELS_INCLUDE_DIRECTORIES(REQUIRED_DURING_INSTALLATION_TESTING ${CMAKE_CURRENT_SOURCE_DIR}/common)

LIST(APPEND SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/common/src/kokkoskernels_print_configuration.cpp)
81 changes: 0 additions & 81 deletions common/src/kokkoskernels_print_configuration.cpp

This file was deleted.

28 changes: 0 additions & 28 deletions common/src/kokkoskernels_print_configuration.hpp

This file was deleted.

1 change: 1 addition & 0 deletions common/unit_test/Test_Common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
#include <Test_Common_IOUtils.hpp>
#include <Test_Common_Error.hpp>
#include <Test_Common_Version.hpp>
#include <Test_Common_PrintConfiguration.hpp>

#endif // TEST_COMMON_HPP
2 changes: 1 addition & 1 deletion perf_test/Benchmark_Context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ std::string remove_unwanted_characters(std::string str) {
return str.substr(from, to + 1);
}

/// \brief Extract all key:value pairs from kokkos configuration and add it to
/// \brief Extract all key:value pairs from kernels configuration and add it to
/// the benchmark context
void add_kernels_configuration(bool verbose) {
std::ostringstream msg;
Expand Down

0 comments on commit b60e991

Please sign in to comment.