ExecutionUnit Class Reference
HiCR
|
HiCR::backend::opencl::ExecutionUnit Class Referencefinal
#include <executionUnit.hpp>
Inheritance diagram for HiCR::backend::opencl::ExecutionUnit:

Public Member Functions | |
ExecutionUnit (const std::vector< std::shared_ptr< opencl::Kernel > > &kernelOperations) | |
~ExecutionUnit ()=default | |
__INLINE__ std::string | getType () const override |
__INLINE__ void | start (const cl::CommandQueue *queue) const |
Detailed Description
This class represents a replicable sequence of kernels meant to be executed on OpenCL.
Constructor & Destructor Documentation
◆ ExecutionUnit()
|
inline |
Constructor for the execution unit class of the OpenCL backend
- Parameters
-
kernelOperations kernels to execute
◆ ~ExecutionUnit()
|
virtualdefault |
Default destructor
Reimplemented from HiCR::ExecutionUnit.
Member Function Documentation
◆ getType()
|
inlineoverridevirtual |
Get the execution unit type
- Returns
- a string indicating the execution unit type
Implements HiCR::ExecutionUnit.
◆ start()
|
inline |
Start the sequence of kernels on the specified queue
- Parameters
-
queue queue on which kernels are scheduled
The documentation for this class was generated from the following file:
- /home/runner/work/HiCR/HiCR/include/hicr/backends/opencl/executionUnit.hpp
Generated by