Skip to content

Commit

Permalink
Merge pull request kokkos#217 from NexGenAnalytics/fix-kokkos-abs
Browse files Browse the repository at this point in the history
kokkos: fix `Kokkos::abs()` namespacing
  • Loading branch information
mhoemmen committed May 27, 2022
2 parents cff8c5f + 40e4c61 commit 4b4b634
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/kokkos-based/helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
#include <experimental/mdspan>
#include <random>

#if KOKKOS_VERSION < 30699
namespace Kokkos {
using Experimental::abs;
}
#endif

namespace kokkostesting{

template<class T>
Expand Down

0 comments on commit 4b4b634

Please sign in to comment.