kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
Kokkos::utils::callbacks::EventIdMatcher Struct Reference

Match an event whose event_id is event_id. More...

#include <EventIdMatcher.hpp>

Public Types

using event_id_t = uint64_t
 

Public Member Functions

template<IndexedEvent EventType>
bool operator() (const EventType &event) const
 

Public Attributes

event_id_t event_id = invalid_event_id
 

Static Public Attributes

static constexpr event_id_t invalid_event_id = Kokkos::Experimental::finite_max_v<event_id_t>
 

Detailed Description

Match an event whose event_id is event_id.

Definition at line 10 of file EventIdMatcher.hpp.

Member Typedef Documentation

◆ event_id_t

Definition at line 12 of file EventIdMatcher.hpp.

Member Function Documentation

◆ operator()()

template<IndexedEvent EventType>
bool Kokkos::utils::callbacks::EventIdMatcher::operator() ( const EventType & event) const
inline

Definition at line 17 of file EventIdMatcher.hpp.

Member Data Documentation

◆ event_id

event_id_t Kokkos::utils::callbacks::EventIdMatcher::event_id = invalid_event_id

Definition at line 21 of file EventIdMatcher.hpp.

◆ invalid_event_id

event_id_t Kokkos::utils::callbacks::EventIdMatcher::invalid_event_id = Kokkos::Experimental::finite_max_v<event_id_t>
staticconstexpr

Definition at line 14 of file EventIdMatcher.hpp.


The documentation for this struct was generated from the following file: