1#ifndef KOKKOS_UTILS_CALLBACKS_EVENTREGIONMATCHER_HPP
2#define KOKKOS_UTILS_CALLBACKS_EVENTREGIONMATCHER_HPP
32 return ! TrueOnBoundary;
38 return TrueOnBoundary;
41 return TrueOnBoundary ? false : this->
matching;
54 return TrueOnBoundary;
58 return TrueOnBoundary ? false : this->
matching;
61 template <Event EventType>
63 return TrueOnBoundary ? false : this->
matching;
Check that Callable is a matcher for each event in EventTypes.
Matcher to select events that occur within a region.
bool operator()(const PushRegionEvent &event)
If the event matches matcher, matching is set to true.
bool operator()(const PopRegionEvent &)
Decrement nested_level if we are still matching.
bool operator()(const EventType &) const
static constexpr uint32_t invalid_nested_level
Pop-region event associated with Kokkos::Tools::Experimental::EventSet::pop_region.
Push-region event associated with Kokkos::Tools::Experimental::EventSet::push_region.