/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMain.cpp | 54 static int test(bool useCpuOnly, Execution::ComputeMode computeMode) { in test() 70 Execution::setComputeMode(computeMode); in test() 74 case Execution::ComputeMode::SYNC: in test() 76 case Execution::ComputeMode::ASYNC: in test() 78 case Execution::ComputeMode::BURST: in test() 80 case Execution::ComputeMode::FENCED: in test() 127 int n = test(/*useCpuOnly=*/false, Execution::ComputeMode::ASYNC) | in main() 128 test(/*useCpuOnly=*/false, Execution::ComputeMode::SYNC) | in main() 129 test(/*useCpuOnly=*/true, Execution::ComputeMode::ASYNC) | in main() 130 test(/*useCpuOnly=*/true, Execution::ComputeMode::SYNC); in main() [all …]
|
D | TestNeuralNetworksWrapper.h | 364 class Execution { 366 Execution(const Compilation* compilation) : mCompilation(compilation->getHandle()) { in Execution() function 373 ~Execution() { ANeuralNetworksExecution_free(mExecution); } in ~Execution() 378 Execution(const Execution&) = delete; 379 Execution& operator=(const Execution&) = delete; 384 Execution(Execution&& other) { *this = std::move(other); } in Execution() function 385 Execution& operator=(Execution&& other) {
|
D | SupportLibraryTestGenerated.cpp | 71 Execution* execution, Execution::ComputeMode computeMode, 92 Execution::ComputeMode mComputeMode = Execution::getComputeMode(); 244 void computeWithPtrs(const TestModel& testModel, Execution* execution, in computeWithPtrs() 245 Execution::ComputeMode computeMode, Result* result, in computeWithPtrs() 284 const TestModel& testModel, Execution* execution, in computeWithDeviceMemories() 285 Execution::ComputeMode computeMode, Result* result, in computeWithDeviceMemories() 350 Execution execution(mNnApi.get(), &compilation); in executeWithCompilation() 554 mComputeMode = Execution::ComputeMode::SYNC; in TEST_P() 560 mComputeMode = Execution::ComputeMode::BURST; in TEST_P() 586 mComputeMode = Execution::ComputeMode::FENCED; in TEST_P()
|
D | TestTrivialModel.cpp | 121 Execution execution(&compilation); in TEST_F() 158 Execution execution(&compilation); in testAddTwoWithHardwareBufferInput() 210 Execution execution2(&compilation2); in TEST_F() 221 Execution execution3(&compilation3); in TEST_F() 240 Execution execution1(&compilation); in TEST_F() 251 Execution execution2(&compilation); in TEST_F() 293 Execution execution(&compilation); in TEST_F() 322 Execution execution(&compilation); in TEST_F()
|
D | TestNeuralNetworksWrapper.cpp | 23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
|
D | TestGenerated.cpp | 89 Execution::ComputeMode mComputeMode = Execution::getComputeMode(); 179 const TestModel& testModel, Execution* execution, in createRequestWithDeviceMemories() 246 Execution execution(&compilation); in executeInternal() 453 mComputeMode = Execution::ComputeMode::SYNC; in TEST_P() 458 mComputeMode = Execution::ComputeMode::ASYNC; in TEST_P() 463 mComputeMode = Execution::ComputeMode::BURST; in TEST_P() 489 mComputeMode = Execution::ComputeMode::FENCED; in TEST_P()
|
D | TestUnknownDimensions.cpp | 80 std::vector<Execution::ComputeMode> computeModes = { 81 Execution::ComputeMode::SYNC, 82 Execution::ComputeMode::FENCED}; 89 Execution::ComputeMode computeMode); 170 Execution::ComputeMode computeMode) { in TestOne() 248 Execution execution(&compilation); in TestOne()
|
D | TestControlFlow.cpp | 29 using test_wrapper::Execution; 95 Execution execution(&compilation); in TEST_F()
|
D | GeneratedTestUtils.h | 101 void createRequest(const test_helper::TestModel& testModel, test_wrapper::Execution* execution,
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworksWrapper.h | 577 class Execution { 580 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) : mNnApi(nnapi) { function 582 Execution(const Compilation* compilation) { 591 ~Execution() { 600 Execution(const Execution&) = delete; 601 Execution& operator=(const Execution&) = delete; 606 Execution(Execution&& other) { *this = std::move(other); } function 607 Execution& operator=(Execution&& other) {
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 473 class Execution { 475 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) in Execution() function 483 ~Execution() { in ~Execution() 492 Execution(const Execution&) = delete; 493 Execution& operator=(const Execution&) = delete; 498 Execution(Execution&& other) { *this = std::move(other); } in Execution() function 499 Execution& operator=(Execution&& other) {
|
D | ShimPreparedModel.h | 66 ::android::nn::sl_wrapper::Execution* execution,
|
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/ |
D | omr1.txt | 4 … summary (self-times, ms wall-clock) Execution 19 … summary (self-times, ms wall-clock) Execution 34 … summary (self-times, ms wall-clock) Execution 49 … summary (self-times, ms wall-clock) Execution 64 … summary (self-times, ms wall-clock) Execution
|
D | unittest.txt | 4 … summary (self-times, ms wall-clock) Execution 19 … summary (self-times, ms wall-clock) Execution
|
D | hdrnet.txt | 4 … summary (self-times, ms wall-clock) Execution
|
D | cpu.txt | 4 … summary (self-times, ms wall-clock) Execution
|
D | old.txt | 4 … summary (self-times, ms wall-clock) Execution
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | SupportLibraryWrapper.cpp | 23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
|
D | ShimPreparedModel.cpp | 46 ::android::nn::sl_wrapper::Execution* execution, in parseInputs() 151 ::android::nn::sl_wrapper::Execution execution, Event e, in ShimFencedExecutionCallback() 208 ::android::nn::sl_wrapper::Execution mExecution; 223 auto execution = ::android::nn::sl_wrapper::Execution(mNnapi.get(), &mCompilation); in executeFenced() 277 std::make_unique<::android::nn::sl_wrapper::Execution>(mNnapi.get(), &mCompilation); in executeSynchronously()
|
/packages/modules/NeuralNetworks/tools/systrace_parser/ |
D | contract-between-code-and-parser.txt | 12 - Execution is exposed as an asynchronous event from the runtime. Time taken 84 … t2: t_m_w:E|T1 total time in Phase Execution 87 … Runtime, Phase Execution 98 …UTION, t1: t_m_w:B|T1|[NN_LR_PE]funcR4 Runtime, Phase Execution
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 103 std::optional<Execution> CreateExecution(const Compilation& compilation, in CreateExecution() 105 Execution execution(&compilation); in CreateExecution()
|
/packages/modules/NeuralNetworks/common/operations/ |
D | QuantizedLSTMTest.cpp | 94 Execution execution(&compilation); in invoke() 226 Result setInputTensor(Execution* execution, int tensor, const std::vector<T>& data) { in setInputTensor() 230 Result setOutputTensor(Execution* execution, int tensor, std::vector<T>* data) { in setOutputTensor()
|
D | MultinomialTest.cpp | 63 Execution execution(&compilation); in Invoke()
|
D | EmbeddingLookupTest.cpp | 99 Execution execution(&compilation); in Invoke()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 260 test_wrapper::Execution execution(&compilation); in computeGoldenResults() 320 test_wrapper::Execution execution(&compilation); in computeAndVerifyResultsForDevice() 356 test_wrapper::Execution execution(&compilation); in computeAndVerifyResults()
|