kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
Listener.hpp File Reference

Go to the source code of this file.

Classes

struct  Kokkos::utils::callbacks::impl::IsListenerFor< Callable >
 

Namespaces

namespace  Kokkos
 
namespace  Kokkos::utils
 
namespace  Kokkos::utils::callbacks
 
namespace  Kokkos::utils::callbacks::impl
 

Concepts

concept  Kokkos::utils::callbacks::Listener
 Callable is a listener if it is invocable with at least one event type from Kokkos::utils::callbacks::EventTypeList passed by const reference and returns void.
 
concept  Kokkos::utils::callbacks::ListenerFor
 Check that Callable is a listener for each event in EventTypes.
 

Typedefs

template<typename Callable>
using Kokkos::utils::callbacks::listener_event_type_list_t = Kokkos::Impl::filter_type_list_t<impl::IsListenerFor<Callable>::template type, EventTypeList>
 Type list holding the event types that Callable can be a listener for.