Skip to content

Commit

Permalink
Merge Pull Request #11943 from trilinos/Trilinos/stokhos_fix_hip
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Stokhos:  Add missing KOKKOS_INLINE_FUNCTION to fix build errors on HIP
PR Author: etphipp
  • Loading branch information
trilinos-autotester committed Jun 5, 2023
2 parents c1bcad4 + 5393fd0 commit 8859506
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/stokhos/src/sacado/kokkos/pce/Sacado_UQ_PCE_Imp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@ max(const typename PCE<Storage>::value_type& a,
}

template <typename Storage>
KOKKOS_INLINE_FUNCTION
PCE<Storage>
max(const PCE<Storage>& a,
const typename PCE<Storage>::value_type& b)
Expand Down Expand Up @@ -1545,6 +1546,7 @@ operator >> (std::istream& is, PCE<Storage>& a)
}

template <typename Storage>
KOKKOS_INLINE_FUNCTION
void
CG_divide(const PCE<Storage>& a, const PCE<Storage>& b, PCE<Storage>& c) {
typedef typename PCE<Storage>::ordinal_type ordinal_type;
Expand Down

0 comments on commit 8859506

Please sign in to comment.