Peano
Loading...
Searching...
No Matches
tarch::multicore::orchestration::Strategy::FuseInstruction Struct Reference

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
 

Detailed Description

Fuse instruction.

Represent if and how to fuse tasks:

Parameters
deviceWhich device is to be used. Can be Host.
minTasksHow many tasks are to be used at least. Can be zero, which means we always have to fuse, but should not be negative.
maxTasksHow 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.
timeoutNanoSecondsTimeout, i.e. time to wait for the right number of fused tasks to arrive.

Definition at line 60 of file Strategy.h.

Constructor & Destructor Documentation

◆ FuseInstruction()

tarch::multicore::orchestration::Strategy::FuseInstruction::FuseInstruction ( int device_,
int minTasks_,
int maxTasks_,
int timeoutNanoSeconds_ = 0 )

Definition at line 65 of file Strategy.h.

Member Function Documentation

◆ toString()

std::string tarch::multicore::orchestration::Strategy::FuseInstruction::toString ( ) const

Definition at line 71 of file Strategy.h.

References device, maxTasks, minTasks, and timeoutNanoSeconds.

Field Documentation

◆ device

int tarch::multicore::orchestration::Strategy::FuseInstruction::device

◆ maxTasks

◆ minTasks

◆ timeoutNanoSeconds

int tarch::multicore::orchestration::Strategy::FuseInstruction::timeoutNanoSeconds

Definition at line 64 of file Strategy.h.

Referenced by toString().


The documentation for this struct was generated from the following file: