Skip to content

Commit

Permalink
rm second definition of "execute_in_serial"
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpowelsnl committed Jan 18, 2024
1 parent 3ef736b commit 4fdac92
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/src/OpenMP/Kokkos_OpenMP_Instance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ class OpenMPInternal {
void print_configuration(std::ostream& s) const;
};

inline bool execute_in_serial(OpenMP const& space = OpenMP()) {
return (space.impl_internal_space_instance()->get_level() < omp_get_level() &&
!(omp_get_nested() && (omp_get_level() == 1)));
}

} // namespace Impl

namespace Experimental {
Expand Down

0 comments on commit 4fdac92

Please sign in to comment.