Home
last modified time | relevance | path

Searched refs:nnDeadline (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/neuralnetworks/utils/adapter/src/
DPreparedModel.cpp203 const auto nnDeadline = NN_TRY(convertInput(deadline)); in execute_1_3() local
213 Task task = [preparedModel, nnRequest = std::move(nnRequest), nnMeasure, nnDeadline, in execute_1_3()
216 preparedModel->execute(nnRequest, nnMeasure, nnDeadline, nnLoopTimeoutDuration); in execute_1_3()
219 executor(std::move(task), userId, nnDeadline); in execute_1_3()
244 const auto nnDeadline = NN_TRY(utils::makeExecutionFailure(convertInput(deadline))); in executeSynchronously_1_3() local
249 NN_TRY(preparedModel->execute(nnRequest, nnMeasure, nnDeadline, nnLoopTimeoutDuration)); in executeSynchronously_1_3()
278 const auto nnDeadline = NN_TRY(convertInput(deadline)); in executeFenced() local
283 nnRequest, nnWaitFor, nnMeasure, nnDeadline, nnLoopTimeoutDuration, nnDuration)); in executeFenced()
DDevice.cpp216 const auto nnDeadline = NN_TRY(convertInput(deadline)); in prepareModel_1_3() local
222 Task task = [device, nnModel = std::move(nnModel), nnPreference, nnPriority, nnDeadline, in prepareModel_1_3()
225 auto result = device->prepareModel(nnModel, nnPreference, nnPriority, nnDeadline, in prepareModel_1_3()
229 executor(std::move(task), userId, nnDeadline); in prepareModel_1_3()
268 const auto nnDeadline = NN_TRY(convertInput(deadline)); in prepareModelFromCache_1_3() local
274 auto task = [device, nnDeadline, nnModelCache = std::move(nnModelCache), in prepareModelFromCache_1_3()
276 auto result = device->prepareModelFromCache(nnDeadline, nnModelCache, nnDataCache, nnToken); in prepareModelFromCache_1_3()
279 executor(std::move(task), userId, nnDeadline); in prepareModelFromCache_1_3()