/home/runner/work/HiCR/HiCR/include/hicr/backends/acl/processingUnit.hpp Source File
HiCR
|
processingUnit.hpp
Go to the documentation of this file.
66 if (c == NULL) HICR_THROW_LOGIC("The passed compute resource is not supported by this processing unit type\n");
84 if (err != ACL_SUCCESS) HICR_THROW_RUNTIME("Failed to delete the stream after kernel execution. Error %d", err);
120 auto e = std::unique_ptr<ExecutionState>(dynamic_cast<ExecutionState *>(executionState.release()));
This file implements the compute resource class for the acl backend.
This file implements the execution state class for the acl backend.
This file implements the execution unit class for the acl backend.
Definition executionState.hpp:38
Definition processingUnit.hpp:49
__INLINE__ std::shared_ptr< ComputeResource > getComputeResource()
Definition processingUnit.hpp:120
Definition computeManager.hpp:48
Definition computeResource.hpp:42
__INLINE__ const std::weak_ptr< const acl::Device > getDevice() const
Definition computeResource.hpp:80
Definition processingUnit.hpp:49
~ProcessingUnit()
Definition processingUnit.hpp:80
__INLINE__ ProcessingUnit(const std::shared_ptr< HiCR::ComputeResource > &computeResource)
Definition processingUnit.hpp:59
__INLINE__ std::string getType() override
Definition processingUnit.hpp:93
Provides a definition for a HiCR ProcessingUnit class.
Provides a failure model and corresponding exception classes.
Generated by