![]() |
Peano
|
Fuse instruction. More...
#include <Strategy.h>
Public Member Functions | |
FuseInstruction (int device_, int minTasks_, int maxTasks_, int timeoutNanoSeconds_=0) | |
std::string | toString () const |
Data Fields | |
int | device |
int | minTasks |
int | maxTasks |
int | timeoutNanoSeconds |
Fuse instruction.
Represent if and how to fuse tasks:
device | Which device is to be used. Can be Host. |
minTasks | How many tasks are to be used at least. Can be zero, which means we always have to fuse, but should not be negative. |
maxTasks | How many tasks are to be fused at most. Has to be bigger than zero. If you set it to one however, you disable fusion and tasks go straight into the runtime system as proper tasks. |
timeoutNanoSeconds | Timeout, i.e. time to wait for the right number of fused tasks to arrive. |
Definition at line 60 of file Strategy.h.
tarch::multicore::orchestration::Strategy::FuseInstruction::FuseInstruction | ( | int | device_, |
int | minTasks_, | ||
int | maxTasks_, | ||
int | timeoutNanoSeconds_ = 0 ) |
Definition at line 65 of file Strategy.h.
std::string tarch::multicore::orchestration::Strategy::FuseInstruction::toString | ( | ) | const |
Definition at line 71 of file Strategy.h.
References device, maxTasks, minTasks, and timeoutNanoSeconds.
int tarch::multicore::orchestration::Strategy::FuseInstruction::device |
Definition at line 61 of file Strategy.h.
Referenced by tarch::multicore::orchestration::GeneticOptimisation::Key::operator<(), tarch::multicore::taskfusion::ProcessReadyTask::processTasks(), and toString().
int tarch::multicore::orchestration::Strategy::FuseInstruction::maxTasks |
int tarch::multicore::orchestration::Strategy::FuseInstruction::minTasks |
Definition at line 62 of file Strategy.h.
Referenced by tarch::multicore::orchestration::GeneticOptimisation::Key::operator<(), tarch::multicore::taskfusion::ProcessReadyTask::processTasks(), tarch::multicore::taskfusion::ProcessReadyTask::run(), toString(), and tarch::multicore::taskfusion::translateFusableTaskIntoTaskSequence().
int tarch::multicore::orchestration::Strategy::FuseInstruction::timeoutNanoSeconds |
Definition at line 64 of file Strategy.h.
Referenced by toString().