Skip to content

Commit

Permalink
Make cms::alpakatools::host() non static
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Oct 21, 2022
1 parent 355d9d3 commit 42d3bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeterogeneousCore/AlpakaInterface/interface/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 42d3bdf

Please sign in to comment.