/home/runner/work/HiCR/HiCR/include/hicr/backends/opencl/processingUnit.hpp Source File
HiCR
|
processingUnit.hpp
Go to the documentation of this file.
61 __INLINE__ ProcessingUnit(const std::shared_ptr<HiCR::ComputeResource> &computeResource, const std::shared_ptr<cl::Context> &context)
67 if (c == NULL) HICR_THROW_LOGIC("The passed compute resource is not supported by this processing unit type\n");
105 auto e = std::unique_ptr<ExecutionState>(dynamic_cast<ExecutionState *>(executionState.release()));
This file implements the compute resource class for the OpenCL backend.
This file implements the execution state class for the OpenCL backend.
This file implements the execution unit class for the OpenCL backend.
Definition executionState.hpp:38
Definition processingUnit.hpp:49
Definition computeManager.hpp:43
Definition processingUnit.hpp:50
__INLINE__ std::string getType() override
Definition processingUnit.hpp:78
__INLINE__ ProcessingUnit(const std::shared_ptr< HiCR::ComputeResource > &computeResource, const std::shared_ptr< cl::Context > &context)
Definition processingUnit.hpp:61
Provides a definition for a HiCR ProcessingUnit class.
Provides a failure model and corresponding exception classes.
Generated by