Home
last modified time | relevance | path

Searched defs:execution (Results 1 – 25 of 39) sorted by relevance

12

/aosp12/hardware/interfaces/neuralnetworks/utils/common/src/
H A DResilientExecution.cpp42 auto execution = resilientExecution.getExecution(); in protect() local
72 auto execution = NN_TRY(makeExecution()); in create() local
79 nn::SharedExecution execution) in ResilientExecution()
105 const auto fn = [&deadline](const nn::IExecution& execution) { in compute()
116 &timeoutDurationAfterFence](const nn::IExecution& execution) { in computeFenced()
/aosp12/packages/modules/NeuralNetworks/runtime/
H A DNeuralNetworks.cpp825 int ANeuralNetworksExecution_compute(ANeuralNetworksExecution* execution) { in ANeuralNetworksExecution_compute()
847 int ANeuralNetworksExecution_getDuration(const ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getDuration()
891 int ANeuralNetworksExecution_burstCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_burstCompute()
1267 ANeuralNetworksExecution** execution) { in ANeuralNetworksExecution_create()
1281 void ANeuralNetworksExecution_free(ANeuralNetworksExecution* execution) { in ANeuralNetworksExecution_free()
1293 int ANeuralNetworksExecution_getOutputOperandRank(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandRank()
1304 int ANeuralNetworksExecution_getOutputOperandDimensions(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_getOutputOperandDimensions()
1315 int ANeuralNetworksExecution_setInput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setInput()
1342 int ANeuralNetworksExecution_setOutput(ANeuralNetworksExecution* execution, int32_t index, in ANeuralNetworksExecution_setOutput()
1369 int ANeuralNetworksExecution_startCompute(ANeuralNetworksExecution* execution, in ANeuralNetworksExecution_startCompute()
[all …]
H A DCompilationBuilder.cpp336 int CompilationBuilder::createExecution(ExecutionBuilder** execution) { in createExecution()
/aosp12/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
H A DFuzzTest.cpp105 Execution execution(&compilation); in CreateExecution() local
144 auto execution = CreateExecution(*compilation, testModel); in nnapiFuzzTest() local
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestTrivialModel.cpp121 Execution execution(&compilation); in TEST_F() local
158 Execution execution(&compilation); in testAddTwoWithHardwareBufferInput() local
293 Execution execution(&compilation); in TEST_F() local
322 Execution execution(&compilation); in TEST_F() local
H A DTestValidation.cpp1249 ANeuralNetworksExecution* execution; in TEST_F() local
1262 ANeuralNetworksExecution* execution; in TEST_F() local
1846 ANeuralNetworksExecution* execution; in TEST_F() local
2244 ANeuralNetworksExecution* execution; in TEST_F() local
2277 ANeuralNetworksExecution* execution; in TEST_F() local
2359 ANeuralNetworksExecution* execution; in TEST_F() local
2539 ANeuralNetworksExecution* execution; in TEST_F() local
2633 ANeuralNetworksExecution* execution; in TEST_F() local
2674 ANeuralNetworksExecution* execution; in TEST_F() local
2990 ANeuralNetworksExecution* execution; in TEST_F() local
[all …]
H A DTestFailingDriver.cpp162 WrapperExecution execution(&compilation); in TEST_F() local
202 WrapperExecution execution(&compilation); in TEST_F() local
H A DTestExecution.cpp682 void getDimensionsWhileRunning(WrapperExecution& execution) { in getDimensionsWhileRunning()
708 void setInputOutput(WrapperExecution* execution) { in setInputOutput()
762 WrapperExecution execution(&mCompilation); in TestWait() local
790 WrapperExecution execution(&mCompilation); in TestWait() local
822 WrapperExecution execution(&mCompilation); in TestWait() local
852 WrapperExecution execution(&mCompilation); in TestWait() local
H A DTestControlFlow.cpp95 Execution execution(&compilation); in TEST_F() local
H A DTestFree.cpp119 ANeuralNetworksExecution* execution = nullptr; in TEST() local
H A DSupportLibraryTestGenerated.cpp244 void computeWithPtrs(const TestModel& testModel, Execution* execution, in computeWithPtrs()
284 const TestModel& testModel, Execution* execution, in computeWithDeviceMemories()
350 Execution execution(mNnApi.get(), &compilation); in executeWithCompilation() local
H A DGeneratedTestUtils.cpp223 void createRequest(const TestModel& testModel, Execution* execution,
/aosp12/packages/modules/NeuralNetworks/shim_and_sl/
H A DShimPreparedModel.cpp46 ::android::nn::sl_wrapper::Execution* execution, in parseInputs()
151 ::android::nn::sl_wrapper::Execution execution, Event e, in ShimFencedExecutionCallback()
223 auto execution = ::android::nn::sl_wrapper::Execution(mNnapi.get(), &mCompilation); in executeFenced() local
276 auto execution = in executeSynchronously() local
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
H A DGlobalConcurrencyModule.java90 public abstract Execution provideExecution(ExecutionImpl execution); in provideExecution()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
H A DPostureDependentProximitySensor.java45 Execution execution, in PostureDependentProximitySensor()
H A DThresholdSensorImpl.java70 Execution execution, float threshold, float thresholdLatch, int sensorDelay) { in ThresholdSensorImpl()
245 Builder(@Main Resources resources, AsyncSensorManager sensorManager, Execution execution) { in Builder()
372 Execution execution) { in BuilderFactory()
H A DProximitySensorImpl.java124 Execution execution) { in ProximitySensorImpl()
/aosp12/packages/modules/NeuralNetworks/common/operations/
H A DQuantizedLSTMTest.cpp94 Execution execution(&compilation); in invoke() local
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()
H A DMultinomialTest.cpp63 Execution execution(&compilation); in Invoke() local
H A DLSHProjectionTest.cpp103 Execution execution(&compilation); in Invoke() local
H A DEmbeddingLookupTest.cpp99 Execution execution(&compilation); in Invoke() local
H A DHashtableLookupTest.cpp114 Execution execution(&compilation); in Invoke() local
H A DRNNTest.cpp199 Execution execution(&compilation); in Invoke() local
/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/
H A DTestRandomGraph.cpp260 test_wrapper::Execution execution(&compilation); in computeGoldenResults() local
320 test_wrapper::Execution execution(&compilation); in computeAndVerifyResultsForDevice() local
356 test_wrapper::Execution execution(&compilation); in computeAndVerifyResults() local
/aosp12/frameworks/base/core/java/android/os/
H A DTestLooperManager.java122 MessageExecution execution = new MessageExecution(); in execute() local

12