diff --git a/HeterogeneousCore/AlpakaInterface/interface/host.h b/HeterogeneousCore/AlpakaInterface/interface/host.h index 66c8a121f2881..acb9c9a9d12e8 100644 --- a/HeterogeneousCore/AlpakaInterface/interface/host.h +++ b/HeterogeneousCore/AlpakaInterface/interface/host.h @@ -21,7 +21,7 @@ namespace cms::alpakatools { } // namespace detail // returns the alpaka host device - static inline alpaka::DevCpu const& host() { + inline alpaka::DevCpu const& host() { static const auto host = detail::enumerate_host(); return host; }