kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::Impl::event Concept Reference

Constrain an EventType type to be a valid event type for Exec execution space type. More...

#include <event.hpp>

Concept definition

template<typename EventType, typename Exec>
concept Kokkos::Execution::Impl::event = Kokkos::ExecutionSpace<Exec> && std::default_initializable<EventType>
&& std::constructible_from<EventType, const Exec&> && std::move_constructible<EventType>
&& requires(EventType& obj, const Exec& exec) {
{ obj.record(exec) } -> std::same_as<void>;
} && requires(const EventType& obj) {
{ obj.wait() } -> std::same_as<void>;
}
Constrain an EventType type to be a valid event type for Exec execution space type.
Definition event.hpp:24

Detailed Description

Constrain an EventType type to be a valid event type for Exec execution space type.

Definition at line 24 of file event.hpp.