SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
|
Go to the documentation of this file.
6 #ifndef _CORE_GLOBALS_H_
7 #define _CORE_GLOBALS_H_
ThreadPool * threadPool
The user-space thread pool used by SMAUG to run multithreaded tasks.
int numAcceleratorsAvailable
The actual number of accelerator complexes currently in use.
bool useSystolicArrayWhenAvailable
If true, uses the systolic array for applicable operators when backend support exists.
constexpr const int maxNumAccelerators
The maximum number of accelerators an operator's work can be split across.
bool fastForwardMode
True if we are simulating in fast-forward mode.
bool runningInSimulation
This is true if the user chooses to run the network in gem5 simulation.
The smaug namespace is the parent namespace of all C++ code in SMAUG.
A user-space cooperatve thread pool implementation designed for gem5 in SE mode.