Block-Structured AMR Software Framework
amrex::Gpu::StreamIter Class Reference

#include <AMReX_GpuUtility.H>

Public Member Functions

 StreamIter (int n, bool is_thread_safe=true) noexcept
 
 StreamIter (int n, const StreamItInfo &info, bool is_thread_safe=true) noexcept
 
 ~StreamIter ()
 
 StreamIter (StreamIter const &)=delete
 
 StreamIter (StreamIter &&)=delete
 
void operator= (StreamIter const &)=delete
 
void operator= (StreamIter &&)=delete
 
int operator() () const noexcept
 
bool isValid () const noexcept
 
void operator++ () noexcept
 

Private Member Functions

void init () noexcept
 

Private Attributes

int m_n
 
int m_i
 
bool m_threadsafe
 
bool m_sync
 

Constructor & Destructor Documentation

◆ StreamIter() [1/4]

amrex::Gpu::StreamIter::StreamIter ( int  n,
bool  is_thread_safe = true 
)
noexcept

◆ StreamIter() [2/4]

amrex::Gpu::StreamIter::StreamIter ( int  n,
const StreamItInfo info,
bool  is_thread_safe = true 
)
noexcept

◆ ~StreamIter()

amrex::Gpu::StreamIter::~StreamIter ( )

◆ StreamIter() [3/4]

amrex::Gpu::StreamIter::StreamIter ( StreamIter const &  )
delete

◆ StreamIter() [4/4]

amrex::Gpu::StreamIter::StreamIter ( StreamIter &&  )
delete

Member Function Documentation

◆ init()

void amrex::Gpu::StreamIter::init ( )
privatenoexcept

◆ isValid()

bool amrex::Gpu::StreamIter::isValid ( ) const
inlinenoexcept

◆ operator()()

int amrex::Gpu::StreamIter::operator() ( ) const
inlinenoexcept

◆ operator++()

void amrex::Gpu::StreamIter::operator++ ( )
noexcept

◆ operator=() [1/2]

void amrex::Gpu::StreamIter::operator= ( StreamIter &&  )
delete

◆ operator=() [2/2]

void amrex::Gpu::StreamIter::operator= ( StreamIter const &  )
delete

Member Data Documentation

◆ m_i

int amrex::Gpu::StreamIter::m_i
private

◆ m_n

int amrex::Gpu::StreamIter::m_n
private

◆ m_sync

bool amrex::Gpu::StreamIter::m_sync
private

◆ m_threadsafe

bool amrex::Gpu::StreamIter::m_threadsafe
private

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