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;
67#if defined(KOKKOS_ENABLE_CUDA) && (defined(KOKKOS_COMPILER_GNU) && KOKKOS_COMPILER_GNU == 1420) && (defined(KOKKOS_COMPILER_NVCC) && KOKKOS_COMPILER_NVCC == 1280)
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
MatcherType matcher
The preprocessor condition is a workaround for an ICE in nvcc 12.8 with gcc 14.2.0.
Pop-region event associated with Kokkos::Tools::Experimental::EventSet::pop_region.
Push-region event associated with Kokkos::Tools::Experimental::EventSet::push_region.