11 #include <kernel/util/cuda_util.hpp>
79 #ifdef FEAT_DEBUG_MODE
80 assert((sync_on) &&
"Already in SyncGuard scope!");
83 this->sync_on =
false;
89 Util::cuda_force_synchronize();
94 static bool enable_synchronize()
114 static void initialize(
int& argc,
char**& argv);
126 [[noreturn]]
static void abort(
bool dump_call_stack =
true);
Runtime scope guard class.
ScopeGuard(int &argc, char **&argv)
Runtime scope guard constructor.
~ScopeGuard()
Runtime scope guard destructor.
Runtime sync guard class.
FEAT Runtime management class.
static int finalize()
FEAT finalization.
static bool _finalized
signals, if finalize was called
static void * get_cudss_handle()
Returns the unique cuDSS third-party library handle.
static bool _initialized
signals, if initialize was called
static void initialize(int &argc, char **&argv)
FEAT initialization.
static void abort(bool dump_call_stack=true)
FEAT abortion.