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_)
 
std::string toString () const
 

Data Fields

int device
 
int minTasks
 
int maxTasks
 

Detailed Description

Fuse instruction.

Represent if and how to fuse tasks:

Parameters
deviceWhich device is to be used. Can be tarch::multicore::Task::Host.
minTasksHow many tasks are to be used at least. Can be zero, which means we always have to fuse (unless maxTask equals 1), but should not be negative.
maxTasksHow many tasks are to be fused at most. Has to be bigger equal minTasks. If you set it to one, you disable fusion and tasks go straight into the runtime system as proper tasks.
See also
Consult the page Task fusion strategies for recommendations and hints on task fusion strategies.
Consult the namespace documentation of tarch::multicore::taskfusion for details on the realisation of the task fusion.

Definition at line 323 of file Strategy.h.

Constructor & Destructor Documentation

◆ FuseInstruction()

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

Definition at line 327 of file Strategy.h.

Member Function Documentation

◆ toString()

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

Definition at line 333 of file Strategy.h.

References device, maxTasks, and minTasks.

Field Documentation

◆ device

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

Definition at line 324 of file Strategy.h.

Referenced by toString().

◆ maxTasks

int tarch::multicore::orchestration::Strategy::FuseInstruction::maxTasks

Definition at line 326 of file Strategy.h.

Referenced by toString().

◆ minTasks

int tarch::multicore::orchestration::Strategy::FuseInstruction::minTasks

Definition at line 325 of file Strategy.h.

Referenced by toString().


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