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

#include <event.hpp>

Public Member Functions

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

Public Attributes

cudaEvent_t m_event = nullptr
uint64_t m_event_id = invalid_event_id
std::atomic< bool > m_recorded

Detailed Description

Definition at line 18 of file event.hpp.

Constructor & Destructor Documentation

◆ Event() [1/3]

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

◆ Event() [2/3]

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

References Event().

◆ Event() [3/3]

Kokkos::Execution::Impl::Event< Kokkos::Cuda >::Event ( Event< Kokkos::Cuda > && )
deletenoexcept

References Event().

◆ ~Event()

Kokkos::Execution::Impl::Event< Kokkos::Cuda >::~Event ( )
inline

Definition at line 28 of file event.hpp.

References Event(), and m_event.

Member Function Documentation

◆ operator=() [1/2]

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

References Event().

◆ operator=() [2/2]

Event & Kokkos::Execution::Impl::Event< Kokkos::Cuda >::operator= ( Event< Kokkos::Cuda > && )
deletenoexcept

References Event().

◆ record()

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

Definition at line 33 of file event.hpp.

References m_event.

◆ wait()

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

Definition at line 40 of file event.hpp.

References m_event.

Member Data Documentation

◆ m_event

cudaEvent_t Kokkos::Execution::Impl::Event< Kokkos::Cuda >::m_event = nullptr

Definition at line 19 of file event.hpp.

◆ m_event_id

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

Definition at line 20 of file event.hpp.

◆ m_recorded

std::atomic<bool> Kokkos::Execution::Impl::Event< Exec >::m_recorded

Definition at line 111 of file event.hpp.


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