Skip to content

Commit

Permalink
removed inline, icpc complains
Browse files Browse the repository at this point in the history
  • Loading branch information
mauneyc-LANL committed Apr 7, 2023
1 parent 58cf41f commit d1aaf32
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 d1aaf32

Please sign in to comment.