kokkos-execution 0.0.1
Loading...
Searching...
No Matches
event.hpp File Reference
#include <concepts>
#include <format>
#include "Kokkos_Core.hpp"

Go to the source code of this file.

Classes

struct  Kokkos::Execution::Impl::SupportEvents< Exec >
 Determine if events are supported. More...
struct  Kokkos::Execution::Impl::RecordEvent
 Event to be sent to Kokkos::utils::callbacks::dispatch when an event is recorded on an execution space instance. More...
struct  Kokkos::Execution::Impl::WaitEvent
 Event to be sent to Kokkos::utils::callbacks::dispatch when an event is being waited for. More...

Namespaces

namespace  Kokkos
namespace  Kokkos::Execution
namespace  Kokkos::Execution::Impl

Concepts

concept  Kokkos::Execution::Impl::event
 Constrain an EventType type to be a valid event type for Exec execution space type.
concept  Kokkos::Execution::Impl::support_events

Functions

template<Kokkos::ExecutionSpace Exec>
void Kokkos::Execution::Impl::record_event (const Exec &exec, uint64_t &event_id)
void Kokkos::Execution::Impl::wait_event (const uint64_t event_id)

Variables

static constexpr auto Kokkos::Execution::Impl::invalid_event_id = Kokkos::Experimental::finite_max_v<uint64_t>

Detailed Description

Backends that support an event-like API specialize Kokkos::Execution::Impl::Event for their execution space type. The specialization must satisfy the Kokkos::Execution::Impl::event concept.

Definition in file event.hpp.