kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::Impl::Event< Kokkos::SYCL > Struct Reference

#include <event.hpp>

Public Member Functions

 Event ()=default
 Event (const Kokkos::SYCL &exec)
 Event (const Event &)=delete
Eventoperator= (const Event &)=delete
 Event (Event &&other) noexcept
Eventoperator= (Event &&other) noexcept
void record (const Kokkos::SYCL &exec)
void wait () const

Public Attributes

std::optional< sycl::event > m_event = std::nullopt
uint64_t m_event_id = invalid_event_id

Detailed Description

Definition at line 18 of file event.hpp.

Constructor & Destructor Documentation

◆ Event() [1/4]

Kokkos::Execution::Impl::Event< Kokkos::SYCL >::Event ( )
default

◆ Event() [2/4]

Kokkos::Execution::Impl::Event< Kokkos::SYCL >::Event ( const Kokkos::SYCL & exec)
inlineexplicit

Definition at line 24 of file event.hpp.

References record().

◆ Event() [3/4]

Kokkos::Execution::Impl::Event< Kokkos::SYCL >::Event ( const Event< Kokkos::SYCL > & )
delete

References Event().

◆ Event() [4/4]

Kokkos::Execution::Impl::Event< Kokkos::SYCL >::Event ( Event< Kokkos::SYCL > && other)
inlinenoexcept

Definition at line 30 of file event.hpp.

References Event(), Kokkos::Execution::Impl::invalid_event_id, m_event, and m_event_id.

Member Function Documentation

◆ operator=() [1/2]

Event & Kokkos::Execution::Impl::Event< Kokkos::SYCL >::operator= ( const Event< Kokkos::SYCL > & )
delete

References Event().

◆ operator=() [2/2]

Event & Kokkos::Execution::Impl::Event< Kokkos::SYCL >::operator= ( Event< Kokkos::SYCL > && other)
inlinenoexcept

Definition at line 34 of file event.hpp.

References Event(), Kokkos::Execution::Impl::invalid_event_id, m_event, and m_event_id.

◆ record()

void Kokkos::Execution::Impl::Event< Kokkos::SYCL >::record ( const Kokkos::SYCL & exec)
inline

According to https://github.com/intel/llvm/issues/15606, it should semantically be correct, whether the Kokkos::SYCL underlying queue is in-order or out-of-order.

Definition at line 46 of file event.hpp.

References m_event, m_event_id, and Kokkos::Execution::Impl::record_event().

◆ wait()

void Kokkos::Execution::Impl::Event< Kokkos::SYCL >::wait ( ) const
inline

Definition at line 51 of file event.hpp.

References m_event, m_event_id, and Kokkos::Execution::Impl::wait_event().

Member Data Documentation

◆ m_event

std::optional<sycl::event> Kokkos::Execution::Impl::Event< Kokkos::SYCL >::m_event = std::nullopt
mutable

Definition at line 19 of file event.hpp.

◆ m_event_id

uint64_t Kokkos::Execution::Impl::Event< Kokkos::SYCL >::m_event_id = invalid_event_id

Definition at line 20 of file event.hpp.


The documentation for this struct was generated from the following file:
  • /__w/kokkos-execution/kokkos-execution/kokkos-execution/impl/SYCL/event.hpp