Searched refs:nnDeadline (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | Device.cpp | 176 const auto nnDeadline = NN_TRY(makeOptionalTimePoint(deadlineNs)); in prepareModel() local 183 Task task = [device, nnModel = std::move(nnModel), nnPreference, nnPriority, nnDeadline, in prepareModel() 188 device->prepareModel(nnModel, nnPreference, nnPriority, nnDeadline, nnModelCache, in prepareModel() 192 executor(std::move(task), nnDeadline); in prepareModel() 206 const auto nnDeadline = NN_TRY(makeOptionalTimePoint(deadlineNs)); in prepareModelFromCache() local 211 auto task = [device, nnDeadline, nnModelCache = std::move(nnModelCache), in prepareModelFromCache() 213 auto result = device->prepareModelFromCache(nnDeadline, nnModelCache, nnDataCache, nnToken); in prepareModelFromCache() 216 executor(std::move(task), nnDeadline); in prepareModelFromCache()
|
D | PreparedModel.cpp | 127 const auto nnDeadline = NN_TRY(makeOptionalTimePoint(deadlineNs)); in executeSynchronously() local 133 preparedModel.execute(nnRequest, nnMeasureTiming, nnDeadline, nnLoopTimeoutDuration, in executeSynchronously() 159 const auto nnDeadline = NN_TRY(makeOptionalTimePoint(deadlineNs)); in executeFenced() local 166 nnRequest, nnWaitFor, nnMeasureTiming, nnDeadline, nnLoopTimeoutDuration, nnDuration, in executeFenced() 196 const auto nnDeadline = NN_TRY(makeOptionalTimePoint(deadlineNs)); in executeSynchronously() local 198 const auto result = execution.compute(nnDeadline); in executeSynchronously() 218 const auto nnDeadline = NN_TRY(makeOptionalTimePoint(deadlineNs)); in executeFenced() local 222 NN_TRY(execution.computeFenced(nnWaitFor, nnDeadline, nnDuration)); in executeFenced()
|
D | Burst.cpp | 109 const auto nnDeadline = NN_TRY(makeOptionalTimePoint(deadlineNs)); in executeSynchronously() local 116 const auto result = burst.execute(nnRequest, nnMeasureTiming, nnDeadline, nnLoopTimeoutDuration, in executeSynchronously()
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/ |
D | Device.cpp | 209 const auto nnDeadline = NN_TRY(convertInput(deadline)); in prepareModel_1_3() local 214 Task task = [device, nnModel = std::move(nnModel), nnPreference, nnPriority, nnDeadline, in prepareModel_1_3() 217 auto result = device->prepareModel(nnModel, nnPreference, nnPriority, nnDeadline, in prepareModel_1_3() 221 executor(std::move(task), nnDeadline); in prepareModel_1_3() 259 const auto nnDeadline = NN_TRY(convertInput(deadline)); in prepareModelFromCache_1_3() local 264 auto task = [device, nnDeadline, nnModelCache = std::move(nnModelCache), in prepareModelFromCache_1_3() 266 auto result = device->prepareModelFromCache(nnDeadline, nnModelCache, nnDataCache, nnToken); in prepareModelFromCache_1_3() 269 executor(std::move(task), nnDeadline); in prepareModelFromCache_1_3()
|
D | PreparedModel.cpp | 189 const auto nnDeadline = NN_TRY(convertInput(deadline)); in execute_1_3() local 193 preparedModel->execute(nnRequest, nnMeasure, nnDeadline, nnLoopTimeoutDuration, {}, {}); in execute_1_3() 224 const auto nnDeadline = NN_TRY(convertInput(deadline)); in executeSynchronously_1_3() local 228 nnRequest, nnMeasure, nnDeadline, nnLoopTimeoutDuration, {}, {})); in executeSynchronously_1_3() 268 const auto nnDeadline = NN_TRY(convertInput(deadline)); in executeFenced() local 273 NN_TRY(preparedModel->executeFenced(nnRequest, nnWaitFor, nnMeasure, nnDeadline, in executeFenced()
|