ExecutionUnit Class Reference
HiCR
|
HiCR::ExecutionUnit Class Referenceabstract
#include <executionUnit.hpp>
Inheritance diagram for HiCR::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()
|
virtualdefault |
Default destructor
Reimplemented in HiCR::backend::boost::ExecutionUnit, HiCR::backend::nosv::ExecutionUnit, HiCR::backend::pthreads::ExecutionUnit, HiCR::backend::ascend::ExecutionUnit, and HiCR::backend::opencl::ExecutionUnit.
Member Function Documentation
◆ getType()
|
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:
- /home/runner/work/HiCR/HiCR/include/hicr/core/executionUnit.hpp
Generated by