Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
uni20::cuda::Completion::State Class Reference

Public Member Functions

int device () const noexcept
 
cudaEvent_t native_handle () const noexcept
 
State & operator= (State const &)=delete
 
bool ready () const
 
void record (int stream_device, cudaStream_t stream) const
 
 State (int device)
 
 State (State const &)=delete
 
void synchronize () const
 
 ~State ()
 

Constructor & Destructor Documentation

◆ State() [1/2]

uni20::cuda::Completion::State::State ( int  device)
inlineexplicit

◆ State() [2/2]

uni20::cuda::Completion::State::State ( State const &  )
delete

◆ ~State()

uni20::cuda::Completion::State::~State ( )
inline

Member Function Documentation

◆ device()

int uni20::cuda::Completion::State::device ( ) const
inlinenoexcept

◆ native_handle()

cudaEvent_t uni20::cuda::Completion::State::native_handle ( ) const
inlinenoexcept

◆ operator=()

State & uni20::cuda::Completion::State::operator= ( State const &  )
delete

◆ ready()

bool uni20::cuda::Completion::State::ready ( ) const
inline

◆ record()

void uni20::cuda::Completion::State::record ( int  stream_device,
cudaStream_t  stream 
) const
inline

◆ synchronize()

void uni20::cuda::Completion::State::synchronize ( ) const
inline

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