/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientPreparedModel.cpp | 107 ResilientPreparedModel::execute(const nn::Request& request, nn::MeasureTiming measure, in execute() argument 110 const auto fn = [&request, measure, &deadline, in execute() 112 return preparedModel.execute(request, measure, deadline, loopTimeoutDuration); in execute() 120 nn::MeasureTiming measure, 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() 133 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecution() argument 138 [preparedModel = std::move(self), request, measure, loopTimeoutDuration] { in createReusableExecution() 139 … return preparedModel->createReusableExecutionInternal(request, measure, loopTimeoutDuration); in createReusableExecution() 143 return createReusableExecutionInternal(request, measure, loopTimeoutDuration); in createReusableExecution() [all …]
|
D | ResilientBurst.cpp | 107 const nn::Request& request, nn::MeasureTiming measure, in execute() argument 110 const auto fn = [&request, measure, deadline, loopTimeoutDuration](const nn::IBurst& burst) { in execute() 111 return burst.execute(request, measure, deadline, loopTimeoutDuration); in execute() 117 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecution() argument 122 [burst = std::move(self), request, measure, loopTimeoutDuration] { in createReusableExecution() 123 return burst->createReusableExecutionInternal(request, measure, loopTimeoutDuration); in createReusableExecution() 127 return createReusableExecutionInternal(request, measure, loopTimeoutDuration); in createReusableExecution() 132 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecutionInternal() argument 137 const auto fn = [&request, measure, &loopTimeoutDuration](const nn::IBurst& burst) { in createReusableExecutionInternal() 138 return burst.createReusableExecution(request, measure, loopTimeoutDuration); in createReusableExecutionInternal()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | PreparedModel.cpp | 68 PreparedModel::executeSynchronously(const V1_0::Request& request, MeasureTiming measure) const { in executeSynchronously() 71 const auto ret = kPreparedModel->executeSynchronously(request, measure, cb); in executeSynchronously() 78 PreparedModel::executeAsynchronously(const V1_0::Request& request, MeasureTiming measure) const { in executeAsynchronously() 82 const auto ret = kPreparedModel->execute_1_2(request, measure, cb); in executeAsynchronously() 92 const nn::Request& request, nn::MeasureTiming measure, in execute() argument 104 const auto hidlMeasure = NN_TRY(hal::utils::makeExecutionFailure(convert(measure))); in execute() 110 PreparedModel::executeInternal(const V1_0::Request& request, MeasureTiming measure, in executeInternal() argument 116 auto result = kExecuteSynchronously ? executeSynchronously(request, measure) in executeInternal() 117 : executeAsynchronously(request, measure); in executeInternal() 138 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecution() argument [all …]
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | PreparedModel.cpp | 108 PreparedModel::executeSynchronously(const Request& request, V1_2::MeasureTiming measure, in executeSynchronously() argument 113 const auto ret = kPreparedModel->executeSynchronously_1_3(request, measure, deadline, in executeSynchronously() 121 PreparedModel::executeAsynchronously(const Request& request, V1_2::MeasureTiming measure, in executeAsynchronously() argument 128 kPreparedModel->execute_1_3(request, measure, deadline, loopTimeoutDuration, cb); in executeAsynchronously() 138 const nn::Request& request, nn::MeasureTiming measure, in execute() argument 150 const auto hidlMeasure = NN_TRY(hal::utils::makeExecutionFailure(convert(measure))); in execute() 160 PreparedModel::executeInternal(const Request& request, V1_2::MeasureTiming measure, 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 | 45 hal::utils::RequestRelocation relocation, V1_2::MeasureTiming measure, in create() argument 52 std::move(request), std::move(relocation), measure, in create() 58 hal::utils::RequestRelocation relocation, V1_2::MeasureTiming measure, in Execution() argument 63 kMeasure(measure), in Execution()
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | PreparedModel.h | 50 const nn::Request& request, nn::MeasureTiming measure, 56 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline, 61 const nn::Request& request, nn::MeasureTiming measure, 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 | 42 hal::utils::RequestRelocation relocation, V1_2::MeasureTiming measure, 47 V1_2::MeasureTiming measure, OptionalTimeoutDuration loopTimeoutDuration);
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | PreparedModel.h | 51 const nn::Request& request, nn::MeasureTiming measure, 57 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline, 62 const nn::Request& request, nn::MeasureTiming measure, 70 const V1_0::Request& request, MeasureTiming measure, 75 const V1_0::Request& request, MeasureTiming measure) const; 77 const V1_0::Request& request, MeasureTiming measure) const;
|
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/ |
D | PreparedModel.h | 46 Return<V1_0::ErrorStatus> execute_1_2(const V1_0::Request& request, V1_2::MeasureTiming measure, 48 Return<V1_3::ErrorStatus> execute_1_3(const V1_3::Request& request, V1_2::MeasureTiming measure, 52 Return<void> executeSynchronously(const V1_0::Request& request, V1_2::MeasureTiming measure, 54 Return<void> executeSynchronously_1_3(const V1_3::Request& request, V1_2::MeasureTiming measure, 64 V1_2::MeasureTiming measure, const V1_3::OptionalTimePoint& deadline,
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Burst.cpp | 52 const nn::Request& request, nn::MeasureTiming measure, in execute() argument 55 return kPreparedModel->execute(request, measure, deadline, loopTimeoutDuration); in execute() 59 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecution() argument 61 return kPreparedModel->createReusableExecution(request, measure, loopTimeoutDuration); in createReusableExecution()
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | PreparedModel.h | 50 const nn::Request& request, nn::MeasureTiming measure, 56 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline, 61 const nn::Request& request, nn::MeasureTiming measure, 69 const Request& request, bool measure, int64_t deadline, int64_t loopTimeoutDuration, 74 const std::vector<ndk::ScopedFileDescriptor>& waitFor, bool measure,
|
D | Burst.h | 99 const nn::Request& request, nn::MeasureTiming measure, 105 const nn::Request& request, nn::MeasureTiming measure, 110 bool measure, int64_t deadline, int64_t loopTimeoutDuration,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockPreparedModel.h | 29 (const Request& request, MeasureTiming measure, const OptionalTimePoint& deadline, 34 MeasureTiming measure, const OptionalTimePoint& deadline, 39 (const nn::Request& request, nn::MeasureTiming measure,
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | MockPreparedModel.h | 45 (const V1_0::Request& request, V1_2::MeasureTiming measure, 49 (const V1_0::Request& request, V1_2::MeasureTiming measure, 61 (const V1_3::Request& request, V1_2::MeasureTiming measure, 67 (const V1_3::Request& request, V1_2::MeasureTiming measure, 74 V1_2::MeasureTiming measure, const V1_3::OptionalTimePoint& deadline,
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | PreparedModel.cpp | 166 V1_2::MeasureTiming measure, in execute_1_2() argument 173 const auto nnMeasure = NN_TRY(convertInput(measure)); in execute_1_2() 193 V1_2::MeasureTiming measure, in execute_1_3() argument 202 const auto nnMeasure = NN_TRY(convertInput(measure)); in execute_1_3() 226 V1_2::MeasureTiming measure) { in executeSynchronously() argument 228 const auto nnMeasure = NN_TRY(utils::makeExecutionFailure(convertInput(measure))); in executeSynchronously() 240 V1_2::MeasureTiming measure, const V1_3::OptionalTimePoint& deadline, in executeSynchronously_1_3() argument 243 const auto nnMeasure = NN_TRY(utils::makeExecutionFailure(convertInput(measure))); in executeSynchronously_1_3() 271 const hidl_vec<hidl_handle>& waitFor, V1_2::MeasureTiming measure, in executeFenced() argument 277 const auto nnMeasure = NN_TRY(convertInput(measure)); in executeFenced() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | PreparedModel.cpp | 75 const nn::Request& request, nn::MeasureTiming measure, in execute() argument 87 const auto aidlMeasure = NN_TRY(hal::utils::makeExecutionFailure(convert(measure))); 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 136 const auto aidlMeasure = NN_TRY(convert(measure)); in executeFenced() 148 bool measure, int64_t deadline, int64_t loopTimeoutDuration, in executeFencedInternal() argument 157 kPreparedModel->executeFenced(request, waitFor, measure, deadline, loopTimeoutDuration, in executeFencedInternal() 196 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecution() argument 206 auto aidlMeasure = NN_TRY(convert(measure)); in createReusableExecution()
|
D | Execution.cpp | 41 hal::utils::RequestRelocation relocation, bool measure, int64_t loopTimeoutDuration) { in create() argument 47 std::move(request), std::move(relocation), measure, in create() 53 hal::utils::RequestRelocation relocation, bool measure, in Execution() argument 58 kMeasure(measure), in Execution()
|
D | Burst.cpp | 46 std::vector<int64_t> memoryIdentifierTokens, bool measure, int64_t loopTimeoutDuration, 51 std::vector<int64_t> memoryIdentifierTokens, bool measure, 173 const nn::Request& request, nn::MeasureTiming measure, in execute() argument 185 const auto aidlMeasure = NN_TRY(hal::utils::makeExecutionFailure(convert(measure))); in execute() 212 const Request& request, const std::vector<int64_t>& memoryIdentifierTokens, bool measure, in executeInternal() argument 227 const auto ret = kBurst->executeSynchronously(request, memoryIdentifierTokens, measure, in executeInternal() 246 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecution() argument 256 const auto aidlMeasure = NN_TRY(convert(measure)); in createReusableExecution() 283 std::vector<int64_t> memoryIdentifierTokens, bool measure, int64_t loopTimeoutDuration, in create() argument 292 std::move(memoryIdentifierTokens), measure, loopTimeoutDuration, std::move(relocation), in create() [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | InvalidPreparedModel.h | 33 const nn::Request& request, nn::MeasureTiming measure, 39 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline, 44 const nn::Request& request, nn::MeasureTiming measure,
|
D | ResilientPreparedModel.h | 51 const nn::Request& request, nn::MeasureTiming measure, 57 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline, 62 const nn::Request& request, nn::MeasureTiming measure, 72 const nn::Request& request, nn::MeasureTiming measure,
|
D | ResilientBurst.h | 50 const nn::Request& request, nn::MeasureTiming measure, 55 const nn::Request& request, nn::MeasureTiming measure, 61 const nn::Request& request, nn::MeasureTiming measure,
|
D | InvalidBurst.h | 35 const nn::Request& request, nn::MeasureTiming measure, 40 const nn::Request& request, nn::MeasureTiming measure,
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | PreparedModel.h | 50 const nn::Request& request, nn::MeasureTiming measure, 56 nn::MeasureTiming measure, const nn::OptionalTimePoint& deadline, 61 const nn::Request& request, nn::MeasureTiming measure,
|
D | Burst.h | 47 const nn::Request& request, nn::MeasureTiming measure, 52 const nn::Request& request, nn::MeasureTiming measure,
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateRequest.cpp | 57 MeasureTiming measure = (hash & 1) ? MeasureTiming::YES : MeasureTiming::NO; in validate() local 65 preparedModel->execute_1_2(request, measure, executionCallback); in validate() 83 request, measure, in validate() 110 const auto [n, outputShapes, timing, fallback] = burst->compute(request, measure, keys); in validate()
|