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

#include <AMReX_GpuControl.H>

Public Member Functions

 NoSyncRegion () noexcept
 
 ~NoSyncRegion ()
 

Private Attributes

bool m_prev_flag
 

Detailed Description

This struct provides a RAII-style mechanism for disabling GPU synchronization in MFITer by default. Note that explicit calls to Gpu::steramSynchronize and Gpu::deviceSynchronize still work.

Constructor & Destructor Documentation

◆ NoSyncRegion()

amrex::Gpu::NoSyncRegion::NoSyncRegion ( )
inlinenoexcept

◆ ~NoSyncRegion()

amrex::Gpu::NoSyncRegion::~NoSyncRegion ( )
inline

Member Data Documentation

◆ m_prev_flag

bool amrex::Gpu::NoSyncRegion::m_prev_flag
private

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