/frameworks/ml/nn/runtime/test/ |
D | TestMain.cpp | 58 static int test(bool useCpuOnly, Execution::ComputeMode computeMode, bool allowSyncExecHal = true) { in test() 76 Execution::setComputeMode(computeMode); in test() 80 case Execution::ComputeMode::SYNC: in test() 82 case Execution::ComputeMode::ASYNC: in test() 84 case Execution::ComputeMode::BURST: in test() 86 case Execution::ComputeMode::FENCED: in test() 133 int n = test(/*useCpuOnly=*/false, Execution::ComputeMode::ASYNC) | in main() 134 test(/*useCpuOnly=*/false, Execution::ComputeMode::SYNC) | in main() 135 test(/*useCpuOnly=*/true, Execution::ComputeMode::ASYNC) | in main() 136 test(/*useCpuOnly=*/true, Execution::ComputeMode::SYNC); in main() [all …]
|
D | TestGenerated.cpp | 141 static void computeWithPtrs(const TestModel& testModel, Execution* execution, Result* result, in computeWithPtrs() 178 Execution* execution, Result* result, in computeWithDeviceMemories() 243 Execution execution(&compilation); in executeWithCompilation() 390 const auto oldComputeMode = Execution::setComputeMode(Execution::ComputeMode::SYNC); in TEST_P() 392 Execution::setComputeMode(oldComputeMode); in TEST_P() 396 const auto oldComputeMode = Execution::setComputeMode(Execution::ComputeMode::ASYNC); in TEST_P() 398 Execution::setComputeMode(oldComputeMode); in TEST_P() 402 const auto oldComputeMode = Execution::setComputeMode(Execution::ComputeMode::BURST); in TEST_P() 404 Execution::setComputeMode(oldComputeMode); in TEST_P() 429 const auto oldComputeMode = Execution::setComputeMode(Execution::ComputeMode::FENCED); in TEST_P() [all …]
|
D | TestNeuralNetworksWrapper.cpp | 23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
|
D | TestNeuralNetworksWrapper.h | 320 class Execution { 322 Execution(const Compilation* compilation) : mCompilation(compilation->getHandle()) { in Execution() function 329 ~Execution() { ANeuralNetworksExecution_free(mExecution); } in ~Execution() 334 Execution(const Execution&) = delete; 335 Execution& operator=(const Execution&) = delete; 340 Execution(Execution&& other) { *this = std::move(other); } in Execution() function 341 Execution& operator=(Execution&& other) {
|
D | TestTrivialModel.cpp | 117 Execution execution(&compilation); in TEST_F() 146 Execution execution(&compilation); in TEST_F() 190 Execution execution2(&compilation2); in TEST_F() 201 Execution execution3(&compilation3); in TEST_F() 220 Execution execution1(&compilation); in TEST_F() 231 Execution execution2(&compilation); in TEST_F() 273 Execution execution(&compilation); in TEST_F() 302 Execution execution(&compilation); in TEST_F()
|
D | GeneratedTestUtils.h | 79 void createRequest(const test_helper::TestModel& testModel, test_wrapper::Execution* execution,
|
D | TestControlFlow.cpp | 91 Execution execution(&compilation); in TEST_F()
|
D | TestMemory.cpp | 27 using WrapperExecution = ::android::nn::test_wrapper::Execution;
|
D | TestFailingDriver.cpp | 36 using WrapperExecution = test_wrapper::Execution;
|
D | GeneratedTestUtils.cpp | 177 void createRequest(const TestModel& testModel, Execution* execution, in createRequest()
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworksWrapper.h | 405 class Execution { 407 Execution(const Compilation* compilation) { in Execution() function 414 ~Execution() { ANeuralNetworksExecution_free(mExecution); } in ~Execution() 419 Execution(const Execution&) = delete; 420 Execution& operator=(const Execution&) = delete; 425 Execution(Execution&& other) { *this = std::move(other); } in Execution() function 426 Execution& operator=(Execution&& other) {
|
/frameworks/ml/nn/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 | old.txt | 4 … summary (self-times, ms wall-clock) Execution
|
D | cpu.txt | 4 … summary (self-times, ms wall-clock) Execution
|
/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 103 std::optional<Execution> CreateExecution(const Compilation& compilation, in CreateExecution() 105 Execution execution(&compilation); in CreateExecution()
|
/frameworks/compile/libbcc/ |
D | README.rst | 2 libbcc: A Versatile Bitcode Execution Engine for Mobile Devices 44 customize and improve upon the default Execution Engine from 183 1. Calls from Execution Environment or from/to within script: 197 2. Calls from/to a separate compilation unit: (E.g., calls to Execution
|
/frameworks/ml/nn/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
|
/frameworks/ml/nn/common/operations/ |
D | QuantizedLSTMTest.cpp | 93 Execution execution(&compilation); in invoke() 225 Result setInputTensor(Execution* execution, int tensor, const std::vector<T>& data) { in setInputTensor() 229 Result setOutputTensor(Execution* execution, int tensor, std::vector<T>* data) { in setOutputTensor()
|
D | MultinomialTest.cpp | 63 Execution execution(&compilation); in Invoke()
|
D | EmbeddingLookupTest.cpp | 98 Execution execution(&compilation); in Invoke()
|
D | LSHProjectionTest.cpp | 103 Execution execution(&compilation); in Invoke()
|
D | HashtableLookupTest.cpp | 113 Execution execution(&compilation); in Invoke()
|
D | RNNTest.cpp | 198 Execution execution(&compilation); in Invoke()
|