/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 181 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 …]
|
D | ResilientExecution.cpp | 104 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()
|
D | ResilientPreparedModel.cpp | 108 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/ |
D | PreparedModel.cpp | 109 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 …]
|
D | Execution.cpp | 67 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/ |
D | QualityOfServiceTests.cpp | 60 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/ |
D | PreparedModel.h | 51 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,
|
D | Execution.h | 50 const nn::OptionalTimePoint& deadline) const override; 53 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Execution.cpp | 62 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()
|
D | PreparedModel.cpp | 76 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/ |
D | PreparedModel.h | 51 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,
|
D | Execution.h | 49 const nn::OptionalTimePoint& deadline) const override; 52 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockExecution.h | 29 (const OptionalTimePoint& deadline), (const, override)); 31 (const std::vector<SyncFence>& waitFor, const OptionalTimePoint& deadline,
|
D | MockPreparedModel.h | 29 (const Request& request, MeasureTiming measure, const OptionalTimePoint& deadline, 34 MeasureTiming measure, const OptionalTimePoint& deadline,
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | InvalidExecution.h | 32 const nn::OptionalTimePoint& deadline) const override; 35 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
|
D | ResilientDevice.h | 67 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,
|
D | InvalidPreparedModel.h | 34 const nn::OptionalTimePoint& deadline, 39 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline,
|
D | ResilientExecution.h | 50 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/ |
D | PreparedModel.h | 49 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/ |
D | MockPreparedModel.h | 34 (const Request& request, bool measureTiming, int64_t deadline, 39 bool measureTiming, int64_t deadline, int64_t loopTimeoutDuration,
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | MockPreparedModel.h | 62 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/ |
D | Burst.cpp | 53 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/ |
D | Execution.h | 50 const nn::OptionalTimePoint& deadline) const override; 53 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | PreparedModel.cpp | 194 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/ |
D | Execution.h | 51 const nn::OptionalTimePoint& deadline) const override; 54 const std::vector<nn::SyncFence>& waitFor, const nn::OptionalTimePoint& deadline,
|