walberla::gpu::StreamRAII Class Reference

#include <GPURAII.h>

Public Member Functions

 ~StreamRAII ()
 
 StreamRAII (StreamRAII &&other) noexcept
 
 StreamRAII (const StreamRAII &)=delete
 
void operator= (const StreamRAII &)=delete
 
 operator gpuStream_t () const
 

Static Public Member Functions

static StreamRAII defaultStream ()
 
static StreamRAII newPriorityStream (int priority)
 
static StreamRAII newStream ()
 

Private Member Functions

 StreamRAII ()=default
 

Private Attributes

gpuStream_t stream_
 

Constructor & Destructor Documentation

◆ ~StreamRAII()

walberla::gpu::StreamRAII::~StreamRAII ( )
inline

◆ StreamRAII() [1/3]

walberla::gpu::StreamRAII::StreamRAII ( StreamRAII &&  other)
inlinenoexcept

◆ StreamRAII() [2/3]

walberla::gpu::StreamRAII::StreamRAII ( const StreamRAII )
delete

◆ StreamRAII() [3/3]

walberla::gpu::StreamRAII::StreamRAII ( )
privatedefault

Member Function Documentation

◆ defaultStream()

static StreamRAII walberla::gpu::StreamRAII::defaultStream ( )
inlinestatic

◆ newPriorityStream()

static StreamRAII walberla::gpu::StreamRAII::newPriorityStream ( int  priority)
inlinestatic

◆ newStream()

static StreamRAII walberla::gpu::StreamRAII::newStream ( )
inlinestatic

◆ operator gpuStream_t()

walberla::gpu::StreamRAII::operator gpuStream_t ( ) const
inline

◆ operator=()

void walberla::gpu::StreamRAII::operator= ( const StreamRAII )
delete

Member Data Documentation

◆ stream_

gpuStream_t walberla::gpu::StreamRAII::stream_
private

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