Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forceinline par_for_inner: add meshblock version #972

Merged
merged 3 commits into from
Nov 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/mesh/meshblock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ 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,
const int &iu, const Function &function) {
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
Loading