ExecutionUnit Class Reference

HiCR: HiCR::backend::boost::ExecutionUnit Class Reference
HiCR
HiCR::backend::boost::ExecutionUnit Class Referencefinal

#include <executionUnit.hpp>

Inheritance diagram for HiCR::backend::boost::ExecutionUnit:
HiCR::ExecutionUnit

Public Member Functions

 ExecutionUnit (Coroutine::coroutineFc_t fc)
 
 ~ExecutionUnit () override=default
 
__INLINE__ std::string getType () const override
 
__INLINE__ const Coroutine::coroutineFc_tgetFunction () const
 

Detailed Description

This class represents a replicable C++ executable function for the Boost backends

Constructor & Destructor Documentation

◆ ExecutionUnit()

HiCR::backend::boost::ExecutionUnit::ExecutionUnit ( Coroutine::coroutineFc_t  fc)
inline

Constructor for the execution unit class of the Boost backend

Parameters
fcA replicable C++ function to run in this execution unit

◆ ~ExecutionUnit()

HiCR::backend::boost::ExecutionUnit::~ExecutionUnit ( )
overridevirtualdefault

Default destructor

Reimplemented from HiCR::ExecutionUnit.

Member Function Documentation

◆ getFunction()

__INLINE__ const Coroutine::coroutineFc_t & HiCR::backend::boost::ExecutionUnit::getFunction ( ) const
inline

Returns the internal function stored inside this execution unit

Returns
The internal function stored inside this execution unit

◆ getType()

__INLINE__ std::string HiCR::backend::boost::ExecutionUnit::getType ( ) const
inlineoverridevirtual

Indicates what type of execution unit is contained in this instance

Returns
A string containing a human-readable description of the execution unit type

Implements HiCR::ExecutionUnit.


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