Skip to content

Commit

Permalink
Forceinline par_for_inner: add meshblock version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Prather committed Nov 7, 2023
1 parent 0279e1d commit d2b2afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mesh/meshblock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class StateDescriptor;
// - Not defined in kokkos_abstraction.hpp because it requires the compile time option
// DEFAULT_INNER_LOOP_PATTERN to be set.
template <typename Function>
KOKKOS_INLINE_FUNCTION void par_for_inner(const team_mbr_t &team_member, const int &il,
KOKKOS_FORCEINLINE_FUNCTION void par_for_inner(const team_mbr_t &team_member, const int &il,
const int &iu, const Function &function) {
parthenon::par_for_inner(DEFAULT_INNER_LOOP_PATTERN, team_member, il, iu, function);
}
Expand Down

0 comments on commit d2b2afb

Please sign in to comment.