Home
last modified time | relevance | path

Searched refs:Execution (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/ml/nn/runtime/test/
DTestMain.cpp58 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 …]
DTestGenerated.cpp141 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 …]
DTestNeuralNetworksWrapper.cpp23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
DTestNeuralNetworksWrapper.h320 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) {
DTestTrivialModel.cpp117 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()
DGeneratedTestUtils.h79 void createRequest(const test_helper::TestModel& testModel, test_wrapper::Execution* execution,
DTestControlFlow.cpp91 Execution execution(&compilation); in TEST_F()
DTestMemory.cpp27 using WrapperExecution = ::android::nn::test_wrapper::Execution;
DTestFailingDriver.cpp36 using WrapperExecution = test_wrapper::Execution;
DGeneratedTestUtils.cpp177 void createRequest(const TestModel& testModel, Execution* execution, in createRequest()
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h405 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/
Domr1.txt4 … 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
Dunittest.txt4 … summary (self-times, ms wall-clock) Execution
19 … summary (self-times, ms wall-clock) Execution
Dhdrnet.txt4 … summary (self-times, ms wall-clock) Execution
Dold.txt4 … summary (self-times, ms wall-clock) Execution
Dcpu.txt4 … summary (self-times, ms wall-clock) Execution
/frameworks/ml/nn/runtime/test/android_fuzzing/
DFuzzTest.cpp103 std::optional<Execution> CreateExecution(const Compilation& compilation, in CreateExecution()
105 Execution execution(&compilation); in CreateExecution()
/frameworks/compile/libbcc/
DREADME.rst2 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/
Dcontract-between-code-and-parser.txt12 - 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/
DQuantizedLSTMTest.cpp93 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()
DMultinomialTest.cpp63 Execution execution(&compilation); in Invoke()
DEmbeddingLookupTest.cpp98 Execution execution(&compilation); in Invoke()
DLSHProjectionTest.cpp103 Execution execution(&compilation); in Invoke()
DHashtableLookupTest.cpp113 Execution execution(&compilation); in Invoke()
DRNNTest.cpp198 Execution execution(&compilation); in Invoke()

12