/home/runner/work/HiCR/HiCR/include/hicr/backends/ascend/executionState.hpp Source File
HiCR
|
executionState.hpp
Go to the documentation of this file.
55 if (e == NULL) HICR_THROW_LOGIC("The execution unit of type '%s' is not supported by this backend\n", executionUnit->getType());
81 if (err != ACL_SUCCESS) HICR_THROW_RUNTIME("Failed to synchronize stream after kernel execution. Error %d", err);
114 __INLINE__ void suspendImpl() { HICR_THROW_RUNTIME("Suspend functionality not supported by Ascend backend"); }
This file implements the Device class for the Ascend backend.
This file implements the execution unit class for the Ascend backend.
Definition executionState.hpp:38
Definition executionState.hpp:40
__INLINE__ void resumeImpl() override
Definition executionState.hpp:97
__INLINE__ bool checkFinalizationImpl() override
Definition executionState.hpp:122
ExecutionState(const std::shared_ptr< HiCR::ExecutionUnit > executionUnit)
Definition executionState.hpp:48
__INLINE__ void setStream(const aclrtStream stream)
Definition executionState.hpp:70
~ExecutionState()=default
__INLINE__ void finalizeStream()
Definition executionState.hpp:75
__INLINE__ void suspendImpl()
Definition executionState.hpp:114
Provides a base definition for a HiCR Execution State class.
Provides a failure model and corresponding exception classes.
Generated by