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

Public Member Functions

int device () const noexcept
 
cudaStream_t native_handle () const noexcept
 
State & operator= (State const &)=delete
 
Completion record_completion () const
 
 State (State const &)=delete
 
 State (StreamPool::Impl &pool, std::size_t slot) noexcept
 
void synchronize () const
 
void wait_on (Completion const &completion) const
 
 ~State ()
 

Constructor & Destructor Documentation

◆ State() [1/2]

uni20::cuda::Stream::State::State ( StreamPool::Impl &  pool,
std::size_t  slot 
)
inlinenoexcept

◆ State() [2/2]

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

◆ ~State()

uni20::cuda::Stream::State::~State ( )

Member Function Documentation

◆ device()

int uni20::cuda::Stream::State::device ( ) const
noexcept

◆ native_handle()

cudaStream_t uni20::cuda::Stream::State::native_handle ( ) const
noexcept

◆ operator=()

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

◆ record_completion()

Completion uni20::cuda::Stream::State::record_completion ( ) const

◆ synchronize()

void uni20::cuda::Stream::State::synchronize ( ) const

◆ wait_on()

void uni20::cuda::Stream::State::wait_on ( Completion const &  completion) const

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