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

Public Member Functions | |
__INLINE__ | ProcessingUnit (const std::shared_ptr< HiCR::ComputeResource > &computeResource, const std::shared_ptr< cl::Context > &context) |
__INLINE__ std::string | getType () override |
![]() | |
ProcessingUnit ()=delete | |
__INLINE__ | ProcessingUnit (std::shared_ptr< HiCR::ComputeResource > computeResource) |
virtual | ~ProcessingUnit ()=default |
__INLINE__ ProcessingUnit::state_t | getState () const |
__INLINE__ std::shared_ptr< ComputeResource > | getComputeResource () |
Friends | |
class | HiCR::backend::opencl::ComputeManager |
Additional Inherited Members | |
![]() | |
enum | state_t { uninitialized , ready , running , suspended , terminating , terminated } |
Detailed Description
Implementation of a processing unit (a device capable of executing kernels) for the OpenCL backend
Constructor & Destructor Documentation
◆ ProcessingUnit()
|
inline |
Constructor for the Processing Unit (kernel) class
- Parameters
-
computeResource The compute resource from which this processing unit is instantiated context the OpenCL context
Member Function Documentation
◆ getType()
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- /home/runner/work/HiCR/HiCR/include/hicr/backends/opencl/processingUnit.hpp
Generated by