Home
last modified time | relevance | path

Searched refs:deadline (Results 1 – 25 of 61) sorted by relevance

123

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp181 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModel() argument
186 preference, priority, deadline, modelCache, in prepareModel()
188 return device->prepareModelInternal(model, preference, priority, deadline, modelCache, in prepareModel()
193 return prepareModelInternal(model, preference, priority, deadline, modelCache, dataCache, in prepareModel()
199 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModelFromCache() argument
203 ResilientPreparedModel::Factory makePreparedModel = [device = std::move(self), deadline, in prepareModelFromCache()
205 return device->prepareModelFromCacheInternal(deadline, modelCache, dataCache, token); in prepareModelFromCache()
209 return prepareModelFromCacheInternal(deadline, modelCache, dataCache, token); in prepareModelFromCache()
236 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModelInternal() argument
241 const auto fn = [&model, preference, priority, &deadline, &modelCache, &dataCache, in prepareModelInternal()
[all …]
DResilientExecution.cpp104 ResilientExecution::compute(const nn::OptionalTimePoint& deadline) const { in compute()
105 const auto fn = [&deadline](const nn::IExecution& execution) { in compute()
106 return execution.compute(deadline); in compute()
113 const nn::OptionalTimePoint& deadline, in computeFenced() argument
115 const auto fn = [&waitFor, &deadline, in computeFenced()
117 return execution.computeFenced(waitFor, deadline, timeoutDurationAfterFence); in computeFenced()
DResilientPreparedModel.cpp108 const nn::OptionalTimePoint& deadline, in execute() argument
110 const auto fn = [&request, measure, &deadline, in execute()
112 return preparedModel.execute(request, measure, deadline, loopTimeoutDuration); in execute()
121 const nn::OptionalTimePoint& deadline, in executeFenced() argument
124 const auto fn = [&request, &waitFor, measure, &deadline, &loopTimeoutDuration, in executeFenced()
126 return preparedModel.executeFenced(request, waitFor, measure, deadline, loopTimeoutDuration, in executeFenced()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DPreparedModel.cpp109 const OptionalTimePoint& deadline, in executeSynchronously() argument
113 const auto ret = kPreparedModel->executeSynchronously_1_3(request, measure, deadline, in executeSynchronously()
122 const OptionalTimePoint& deadline, in executeAsynchronously() argument
128 kPreparedModel->execute_1_3(request, measure, deadline, loopTimeoutDuration, cb); in executeAsynchronously()
139 const nn::OptionalTimePoint& deadline, in execute() argument
151 const auto hidlDeadline = NN_TRY(hal::utils::makeExecutionFailure(convert(deadline))); in execute()
161 const OptionalTimePoint& deadline, in executeInternal() argument
169 ? executeSynchronously(request, measure, deadline, loopTimeoutDuration) in executeInternal()
170 : executeAsynchronously(request, measure, deadline, loopTimeoutDuration); in executeInternal()
181 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline, in executeFenced() argument
[all …]
DExecution.cpp67 const nn::OptionalTimePoint& deadline) const { in compute()
68 const auto hidlDeadline = NN_TRY(hal::utils::makeExecutionFailure(convert(deadline))); in compute()
74 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline, in computeFenced() argument
77 const auto hidlDeadline = NN_TRY(convert(deadline)); in computeFenced()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DQualityOfServiceTests.cpp60 const OptionalTimePoint& deadline)>;
81 OptionalTimePoint deadline; in makeDeadline() local
82 deadline.nanosecondsSinceEpoch(getNanosecondsSinceEpoch(timePoint)); in makeDeadline()
83 return deadline; in makeDeadline()
88 OptionalTimePoint deadline; in runPrepareModelTest() local
90 deadline = makeDeadline(deadlineBound.value()); in runPrepareModelTest()
107 model, ExecutionPreference::FAST_SINGLE_ANSWER, priority, deadline, in runPrepareModelTest()
172 const OptionalTimePoint& deadline) { in executeAsynchronously() argument
178 Return<ErrorStatus> ret = preparedModel->execute_1_3(request, measure, deadline, {}, callback); in executeAsynchronously()
195 const OptionalTimePoint& deadline) { in executeSynchronously() argument
[all …]
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DPreparedModel.h51 const nn::OptionalTimePoint& deadline,
56 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline,
69 const Request& request, V1_2::MeasureTiming measure, const OptionalTimePoint& deadline,
75 V1_2::MeasureTiming measure, const OptionalTimePoint& deadline,
82 const Request& request, V1_2::MeasureTiming measure, const OptionalTimePoint& deadline,
85 const Request& request, V1_2::MeasureTiming measure, const OptionalTimePoint& deadline,
DExecution.h50 const nn::OptionalTimePoint& deadline) const override;
53 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DExecution.cpp62 const nn::OptionalTimePoint& deadline) const { in compute()
63 const auto aidlDeadline = NN_TRY(hal::utils::makeExecutionFailure(convert(deadline))); in compute()
69 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline, in computeFenced() argument
72 const auto aidlDeadline = NN_TRY(convert(deadline)); in computeFenced()
DPreparedModel.cpp76 const nn::OptionalTimePoint& deadline, in execute() argument
88 const auto aidlDeadline = NN_TRY(hal::utils::makeExecutionFailure(convert(deadline))); in execute()
96 PreparedModel::executeInternal(const Request& request, bool measure, int64_t deadline, in executeInternal() argument
104 const auto ret = kPreparedModel->executeSynchronously(request, measure, deadline, in executeInternal()
124 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline, in executeFenced() argument
137 const auto aidlDeadline = NN_TRY(convert(deadline)); in executeFenced()
148 bool measure, int64_t deadline, int64_t loopTimeoutDuration, in executeFencedInternal() argument
157 kPreparedModel->executeFenced(request, waitFor, measure, deadline, loopTimeoutDuration, in executeFencedInternal()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DPreparedModel.h51 const nn::OptionalTimePoint& deadline,
56 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline,
69 const Request& request, bool measure, int64_t deadline, int64_t loopTimeoutDuration,
75 int64_t deadline, int64_t loopTimeoutDuration,
DExecution.h49 const nn::OptionalTimePoint& deadline) const override;
52 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockExecution.h29 (const OptionalTimePoint& deadline), (const, override));
31 (const std::vector<SyncFence>& waitFor, const OptionalTimePoint& deadline,
DMockPreparedModel.h29 (const Request& request, MeasureTiming measure, const OptionalTimePoint& deadline,
34 MeasureTiming measure, const OptionalTimePoint& deadline,
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidExecution.h32 const nn::OptionalTimePoint& deadline) const override;
35 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
DResilientDevice.h67 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
72 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
85 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
88 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
DInvalidPreparedModel.h34 const nn::OptionalTimePoint& deadline,
39 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline,
DResilientExecution.h50 const nn::OptionalTimePoint& deadline) const override;
53 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DPreparedModel.h49 const V1_3::OptionalTimePoint& deadline,
55 const V1_3::OptionalTimePoint& deadline,
64 V1_2::MeasureTiming measure, const V1_3::OptionalTimePoint& deadline,
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DMockPreparedModel.h34 (const Request& request, bool measureTiming, int64_t deadline,
39 bool measureTiming, int64_t deadline, int64_t loopTimeoutDuration,
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DMockPreparedModel.h62 const V1_3::OptionalTimePoint& deadline,
68 const V1_3::OptionalTimePoint& deadline,
74 V1_2::MeasureTiming measure, const V1_3::OptionalTimePoint& deadline,
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DBurst.cpp53 const nn::OptionalTimePoint& deadline, in execute() argument
55 return kPreparedModel->execute(request, measure, deadline, loopTimeoutDuration); in execute()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DExecution.h50 const nn::OptionalTimePoint& deadline) const override;
53 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DPreparedModel.cpp194 const V1_3::OptionalTimePoint& deadline, in execute_1_3() argument
203 const auto nnDeadline = NN_TRY(convertInput(deadline)); in execute_1_3()
240 V1_2::MeasureTiming measure, const V1_3::OptionalTimePoint& deadline, in executeSynchronously_1_3() argument
244 const auto nnDeadline = NN_TRY(utils::makeExecutionFailure(convertInput(deadline))); in executeSynchronously_1_3()
272 const V1_3::OptionalTimePoint& deadline, in executeFenced() argument
278 const auto nnDeadline = NN_TRY(convertInput(deadline)); in executeFenced()
330 const V1_3::OptionalTimePoint& deadline, in execute_1_3() argument
334 deadline, loopTimeoutDuration, callback); in execute_1_3()
363 const V1_3::OptionalTimePoint& deadline, in executeSynchronously_1_3() argument
365 auto result = adapter::executeSynchronously_1_3(kPreparedModel, request, measure, deadline, in executeSynchronously_1_3()
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DExecution.h51 const nn::OptionalTimePoint& deadline) const override;
54 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,

123