Skip to content

Commit

Permalink
Adding a Kokkos fix for Precept
Browse files Browse the repository at this point in the history
  • Loading branch information
seanofthemillers committed Feb 2, 2024
1 parent d920462 commit 24960b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ class PerceptMesh;
void updateState(SmootherMetricImpl<MeshType> *metric, PerceptMesh *eMesh, bool valid_in, size_t *num_invalid_in, Double mtot_in, size_t n_invalid_in)
{m_metric = metric; m_eMesh = eMesh; valid = valid_in; num_invalid = num_invalid_in; mtot = mtot_in; n_invalid = n_invalid_in;}

inline
KOKKOS_INLINE_FUNCTION
void operator()(const unsigned& index, Double& mtot_loc) const
{
const_cast<This *>(this)->operator()(index, mtot_loc);
}

inline
KOKKOS_INLINE_FUNCTION
void operator()(const unsigned& index, Double& mtot_loc);

};
Expand Down

0 comments on commit 24960b1

Please sign in to comment.