Skip to content

Commit

Permalink
Merge pull request #35 from lanl/mauneyc/fixinlineerr
Browse files Browse the repository at this point in the history
removed inline, icpc complains
  • Loading branch information
Yurlungur authored Apr 7, 2023
2 parents 58cf41f + d1aaf32 commit 1ae17ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ports-of-call/portability.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ namespace PortsOfCall{
// compile-time constant to check if execution of memory space
// will be done on the host or is offloaded
#if defined(PORTABILITY_STRATEGY_KOKKOS)
inline constexpr bool EXECUTION_IS_HOST{Kokkos::SpaceAccessibility<Kokkos::DefaultExecutionSpace::memory_space,Kokkos::HostSpace>::accessible};
constexpr bool EXECUTION_IS_HOST{Kokkos::SpaceAccessibility<Kokkos::DefaultExecutionSpace::memory_space,Kokkos::HostSpace>::accessible};
#elif defined(PORTABILITY_STRATEGY_CUDA)
inline constexpr bool EXECUTION_IS_HOST{false};
constexpr bool EXECUTION_IS_HOST{false};
#else
inline constexpr bool EXECUTION_IS_HOST{true};
constexpr bool EXECUTION_IS_HOST{true};
#endif
} // PortsOfCall

Expand Down

0 comments on commit 1ae17ad

Please sign in to comment.