kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
Kokkos::utils::timer::Event< Kokkos::HIP > Struct Reference

#include <Event.hpp>

Public Types

using impl_event_t = hipEvent_t
 
using impl_event_t
 

Public Member Functions

 Event ()
 
 ~Event ()
 
void record (const Kokkos::HIP &space)
 
template<typename Duration = milliseconds>
Duration duration (Event &other)
 
void record (const Exec &)
 Record this event in the execution space exec.
 
Duration duration (const Event &other) const
 Get a Duration object between this event and other.
 

Public Attributes

impl_event_t event = nullptr
 
impl_event_t event
 

Detailed Description

Definition at line 10 of file Event.hpp.

Member Typedef Documentation

◆ impl_event_t [1/2]

using Kokkos::utils::timer::Event< Exec >::impl_event_t

Definition at line 30 of file Event.hpp.

◆ impl_event_t [2/2]

using Kokkos::utils::timer::Event< Kokkos::HIP >::impl_event_t = hipEvent_t

Definition at line 12 of file Event.hpp.

Constructor & Destructor Documentation

◆ Event()

Kokkos::utils::timer::Event< Kokkos::HIP >::Event ( )
inline

Definition at line 16 of file Event.hpp.

◆ ~Event()

Kokkos::utils::timer::Event< Kokkos::HIP >::~Event ( )
inline

Definition at line 18 of file Event.hpp.

Member Function Documentation

◆ duration() [1/2]

Duration Kokkos::utils::timer::Event< Exec >::duration ( const Event< Kokkos::HIP > & other) const
inline

Get a Duration object between this event and other.

Definition at line 41 of file Event.hpp.

◆ duration() [2/2]

template<typename Duration = milliseconds>
Duration Kokkos::utils::timer::Event< Kokkos::HIP >::duration ( Event< Kokkos::HIP > & other)
inline

Definition at line 23 of file Event.hpp.

◆ record() [1/2]

void Kokkos::utils::timer::Event< Exec >::record ( const Exec & )
inline

Record this event in the execution space exec.

Definition at line 35 of file Event.hpp.

◆ record() [2/2]

void Kokkos::utils::timer::Event< Kokkos::HIP >::record ( const Kokkos::HIP & space)
inline

Definition at line 20 of file Event.hpp.

Member Data Documentation

◆ event [1/2]

Definition at line 32 of file Event.hpp.

◆ event [2/2]

impl_event_t Kokkos::utils::timer::Event< Kokkos::HIP >::event = nullptr

Definition at line 14 of file Event.hpp.


The documentation for this struct was generated from the following file: