Skip to content

Commit

Permalink
refactor!: KokkosComm_version.hpp -> KokkosComm_config.hpp (#111)
Browse files Browse the repository at this point in the history
In anticipation of putting some other compile-time settings in here.
  • Loading branch information
cwpearson authored Jul 12, 2024
1 parent d1d4b94 commit e6b32ad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ set(KOKKOSCOMM_VERSION_MAJOR ${CMAKE_PROJECT_VERSION_MAJOR} CACHE STRING "" FORC
set(KOKKOSCOMM_VERSION_MINOR ${CMAKE_PROJECT_VERSION_MINOR} CACHE STRING "" FORCE)
set(KOKKOSCOMM_VERSION_PATCH ${CMAKE_PROJECT_VERSION_PATCH} CACHE STRING "" FORCE)
configure_file(
${CMAKE_CURRENT_LIST_DIR}/cmake/KokkosComm_version.hpp.in
${CMAKE_CURRENT_BINARY_DIR}/src/KokkosComm_version.hpp
${CMAKE_CURRENT_LIST_DIR}/cmake/KokkosComm_config.hpp.in
${CMAKE_CURRENT_BINARY_DIR}/src/KokkosComm_config.hpp
@ONLY
)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/KokkosComm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

#pragma once

#include "KokkosComm_config.hpp"
#include "KokkosComm_collective.hpp"
#include "KokkosComm_version.hpp"
#include "KokkosComm_isend.hpp"
#include "KokkosComm_irecv.hpp"
#include "KokkosComm_recv.hpp"
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include <gtest/gtest.h>

#include <KokkosComm_version.hpp>
#include <KokkosComm_config.hpp>
#include <Kokkos_Core.hpp>

#include "KokkosComm_include_mpi.hpp"
Expand Down

0 comments on commit e6b32ad

Please sign in to comment.