ExecutionUnit Class Reference

HiCR: HiCR::ExecutionUnit Class Reference
HiCR
HiCR::ExecutionUnit Class Referenceabstract

#include <executionUnit.hpp>

Inheritance diagram for HiCR::ExecutionUnit:
HiCR::backend::ascend::ExecutionUnit HiCR::backend::boost::ExecutionUnit HiCR::backend::nosv::ExecutionUnit HiCR::backend::opencl::ExecutionUnit HiCR::backend::pthreads::ExecutionUnit

Public Member Functions

virtual std::string getType () const =0
 
virtual ~ExecutionUnit ()=default
 

Detailed Description

This class represents an abstract definition for a Execution Unit that:

  • Represents a single state-less computational operation (e.g., a function or a kernel) that can be replicated many times
  • Is executed in the context of an ExecutionState class

Constructor & Destructor Documentation

◆ ~ExecutionUnit()

Member Function Documentation

◆ getType()

virtual std::string HiCR::ExecutionUnit::getType ( ) const
pure virtual

Indicates what type of execution unit is contained in this instance

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

Implemented in HiCR::backend::ascend::ExecutionUnit, HiCR::backend::boost::ExecutionUnit, HiCR::backend::nosv::ExecutionUnit, HiCR::backend::opencl::ExecutionUnit, and HiCR::backend::pthreads::ExecutionUnit.


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