FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Runtime::SyncGuard Class Reference

Runtime sync guard class. More...

#include <runtime.hpp>

Static Public Member Functions

static bool enable_synchronize ()
 

Static Public Attributes

static bool sync_on = true
 

Friends

class Runtime
 

Detailed Description

Runtime sync guard class.

This class defers all explicit cuda_synchronize() calls while in scope and synchronizes at the end

Definition at line 71 of file runtime.hpp.

Constructor & Destructor Documentation

◆ SyncGuard()

FEAT::Runtime::SyncGuard::SyncGuard ( )
inline

Definition at line 77 of file runtime.hpp.

◆ ~SyncGuard()

FEAT::Runtime::SyncGuard::~SyncGuard ( )
inline

Definition at line 86 of file runtime.hpp.

Member Function Documentation

◆ enable_synchronize()

static bool FEAT::Runtime::SyncGuard::enable_synchronize ( )
inlinestatic

Definition at line 94 of file runtime.hpp.

Friends And Related Function Documentation

◆ Runtime

friend class Runtime
friend

Definition at line 99 of file runtime.hpp.

Member Data Documentation

◆ sync_on

bool Runtime::SyncGuard::sync_on = true
static

Definition at line 74 of file runtime.hpp.


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