Constrain an EventType type to be a valid event type for Exec execution space type.
More...
#include <event.hpp>
template<typename EventType, typename Exec>
&& !std::movable<EventType> && requires(EventType& obj, const Exec& exec) {
{ obj.record(exec) } -> std::same_as<void>;
} && requires(const EventType& obj) {
{ obj.wait() } -> std::same_as<void>;
{ obj.m_event_id } -> std::same_as<const uint64_t&>;
}
Constrain an EventType type to be a valid event type for Exec execution space type.
Constrain an EventType type to be a valid event type for Exec execution space type.
Definition at line 24 of file event.hpp.