SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
globals.cpp
1 #include "smaug/core/globals.h"
2 
3 namespace smaug {
5 bool fastForwardMode = true;
7 ThreadPool* threadPool = nullptr;
9 } // namespace smaug
smaug::threadPool
ThreadPool * threadPool
The user-space thread pool used by SMAUG to run multithreaded tasks.
Definition: globals.cpp:7
smaug::numAcceleratorsAvailable
int numAcceleratorsAvailable
The actual number of accelerator complexes currently in use.
Definition: globals.cpp:6
smaug::useSystolicArrayWhenAvailable
bool useSystolicArrayWhenAvailable
If true, uses the systolic array for applicable operators when backend support exists.
Definition: globals.cpp:8
smaug::fastForwardMode
bool fastForwardMode
True if we are simulating in fast-forward mode.
Definition: globals.cpp:5
smaug::runningInSimulation
bool runningInSimulation
This is true if the user chooses to run the network in gem5 simulation.
Definition: globals.cpp:4
globals.h
SMAUG Global variables.
smaug
The smaug namespace is the parent namespace of all C++ code in SMAUG.
Definition: backend.cpp:38
smaug::ThreadPool
A user-space cooperatve thread pool implementation designed for gem5 in SE mode.
Definition: thread_pool.h:23