From 42d3bdf460c7d5007986128c454951c12022fc73 Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Fri, 21 Oct 2022 14:25:55 +0200 Subject: [PATCH] Make cms::alpakatools::host() non static --- HeterogeneousCore/AlpakaInterface/interface/host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }