Home
last modified time | relevance | path

Searched refs:ResilientExecution (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientExecution.cpp40 auto protect(const ResilientExecution& resilientExecution, const FnType& fn) in protect()
66 nn::GeneralResult<std::shared_ptr<const ResilientExecution>> ResilientExecution::create( in create()
74 return std::make_shared<ResilientExecution>(PrivateConstructorTag{}, std::move(makeExecution), in create()
78 ResilientExecution::ResilientExecution(PrivateConstructorTag /*tag*/, Factory makeExecution, in ResilientExecution() function in android::hardware::neuralnetworks::utils::ResilientExecution
85 nn::SharedExecution ResilientExecution::getExecution() const { in getExecution()
90 nn::GeneralResult<nn::SharedExecution> ResilientExecution::recover( in recover()
104 ResilientExecution::compute(const nn::OptionalTimePoint& deadline) const { in compute()
112 ResilientExecution::computeFenced(const std::vector<nn::SyncFence>& waitFor, in computeFenced()
122 bool ResilientExecution::isValidInternal() const { in isValidInternal()
DResilientBurst.cpp121 ResilientExecution::Factory makeExecution = in createReusableExecution()
125 return ResilientExecution::create(std::move(makeExecution)); in createReusableExecution()
DResilientPreparedModel.cpp137 ResilientExecution::Factory makeExecution = in createReusableExecution()
141 return ResilientExecution::create(std::move(makeExecution)); in createReusableExecution()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientExecution.h33 class ResilientExecution final : public nn::IExecution,
34 public std::enable_shared_from_this<ResilientExecution> {
40 static nn::GeneralResult<std::shared_ptr<const ResilientExecution>> create(
43 ResilientExecution(PrivateConstructorTag tag, Factory makeExecution,
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientExecution.cpp39 std::shared_ptr<const ResilientExecution>>
46 auto buffer = ResilientExecution::create(mockExecutionFactory->AsStdFunction()).value(); in setup()
67 const auto invalidExecutionFactory = ResilientExecution::Factory{}; in TEST()
70 const auto result = ResilientExecution::create(invalidExecutionFactory); in TEST()
82 const auto result = ResilientExecution::create(invalidExecutionFactory); in TEST()