Block-Structured AMR Software Framework
amrex::Gpu::SingleStreamRegion Struct Reference

#include <AMReX_GpuControl.H>

Public Member Functions

 SingleStreamRegion () noexcept
 
 ~SingleStreamRegion ()
 

Private Attributes

bool m_prev_flag
 

Detailed Description

This struct provides a RAII-style mechanism for changing the number of streams returned by Gpu::numStreams() to a single stream.

Constructor & Destructor Documentation

◆ SingleStreamRegion()

amrex::Gpu::SingleStreamRegion::SingleStreamRegion ( )
inlinenoexcept

◆ ~SingleStreamRegion()

amrex::Gpu::SingleStreamRegion::~SingleStreamRegion ( )
inline

Member Data Documentation

◆ m_prev_flag

bool amrex::Gpu::SingleStreamRegion::m_prev_flag
private

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