Home
last modified time | relevance | path

Searched defs:compilation (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/NeuralNetworks/runtime/test/
DTestGenerated.cpp143 Compilation compilation(&model); in compileModel() local
155 static ANeuralNetworksMemory* createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput()
168 static ANeuralNetworksMemory* createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput()
181 static void createRequestWithDeviceMemories(const Compilation& compilation, in createRequestWithDeviceMemories()
245 void GeneratedTests::executeInternal(const Compilation& compilation, const TestModel& testModel, in executeInternal()
304 void GeneratedTests::executeWithCompilation(const Compilation& compilation, in executeWithCompilation()
319 static void validateCompilationMemoryPreferences(const Compilation& compilation, in validateCompilationMemoryPreferences()
346 std::optional<Compilation> compilation = compileModel(model); in executeOnce() local
368 std::optional<Compilation> compilation = compileModel(model); in executeMultithreadedSharedCompilation() local
DTestFree.cpp91 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local
103 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local
115 ANeuralNetworksCompilation* compilation = nullptr; in TEST() local
DTestMemoryDomain.cpp200 test_wrapper::Compilation compilation; in createCompilation() local
228 const test_wrapper::Compilation& compilation, const std::vector<uint32_t>& inputIndexes, in allocateDeviceMemory()
298 auto compilation = createCompilation({"test_driver"}); in TEST_P() local
334 auto compilation = createCompilation({"test_driver_add", "test_driver_sub", "test_driver_mul"}); in TEST_P() local
420 auto compilation = createCompilation({"test_driver"}); in TEST_P() local
454 auto compilation = createCompilation({"test_driver"}); in TEST_F() local
DTestTrivialModel.cpp124 Compilation compilation(&modelAdd2); in TEST_F() local
166 Compilation compilation(&modelAdd2); in testAddTwoWithHardwareBufferInput() local
244 Compilation compilation(&modelAdd3); in TEST_F() local
303 Compilation compilation(&modelBroadcastAdd2); in TEST_F() local
332 Compilation compilation(&modelBroadcastMul2); in TEST_F() local
DSupportLibraryTestGenerated.cpp241 auto compilation = std::move(resultCompilation.second); in compileModel() local
263 ANeuralNetworksMemory* GeneratedTests::createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput()
277 ANeuralNetworksMemory* GeneratedTests::createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput()
293 const Compilation& compilation, const TestModel& testModel, Execution* execution, in computeWithDeviceMemories()
360 void GeneratedTests::executeWithCompilation(const Compilation& compilation, in executeWithCompilation()
424 std::optional<Compilation> compilation = compileModel(model, device); in executeOnce() local
471 std::optional<Compilation> compilation = compileModel(model, device); in executeMultithreadedSharedCompilation() local
DTestFailingDriver.cpp144 WrapperCompilation compilation(&model); in TEST_F() local
194 WrapperCompilation compilation(&model); in TEST_F() local
DTestTelemetry.cpp65 Compilation compilation(&modelAdd2); in TEST_F() local
DTestNeuralNetworksWrapper.h260 ANeuralNetworksCompilation* compilation = nullptr; in createForDevices() local
361 Compilation(ANeuralNetworksCompilation* compilation) : mCompilation(compilation) {} in Compilation()
368 Execution(const Compilation* compilation) : mCompilation(compilation->getHandle()) { in Execution()
DTestControlFlow.cpp90 Compilation compilation(&model); in TEST_F() local
DTestCompatibilityLayer.cpp85 Compilation compilation(&model); in execute() local
DTestValidation.cpp368 void executeWithMemoryAsInput(ANeuralNetworksCompilation* compilation, in executeWithMemoryAsInput()
382 void executeWithMemoryAsOutput(ANeuralNetworksCompilation* compilation, in executeWithMemoryAsOutput()
883 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local
898 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local
920 ANeuralNetworksCompilation* compilation = nullptr; in TEST_F() local
1466 static void testConcurrentExecution(bool reusable, ANeuralNetworksCompilation* compilation) { in testConcurrentExecution()
2583 ANeuralNetworksCompilation* compilation; in TEST_F() local
3355 void runExecutionSetTimeoutTest(ANeuralNetworksCompilation* compilation, in runExecutionSetTimeoutTest()
3548 ANeuralNetworksCompilation* compilation; in createAndCompileAddModelWithType() local
3554 static void testIncompatibleOperands(const ANeuralNetworksCompilation* compilation, in testIncompatibleOperands()
[all …]
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp818 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_createForDevices()
909 int ANeuralNetworksBurst_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksBurst_create()
984 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addInputRole()
997 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addOutputRole()
1237 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_create()
1254 void ANeuralNetworksCompilation_free(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_free()
1261 int ANeuralNetworksCompilation_setPreference(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setPreference()
1272 int ANeuralNetworksCompilation_setCaching(ANeuralNetworksCompilation* compilation, in ANeuralNetworksCompilation_setCaching()
1283 int ANeuralNetworksCompilation_finish(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_finish()
1296 int ANeuralNetworksCompilation_setPriority(ANeuralNetworksCompilation* compilation, int priority) { in ANeuralNetworksCompilation_setPriority()
[all …]
DTelemetry.cpp203 auto compilation = e->getCompilation(); in onExecutionFinish() local
246 void registerTelemetryCallbacks(std::function<void(const DiagnosticCompilationInfo*)> compilation, in registerTelemetryCallbacks()
DBurstBuilder.cpp32 BurstBuilder::BurstBuilder(const CompilationBuilder* compilation, in BurstBuilder()
DNeuralNetworksV2.cpp887 int ANeuralNetworksBurst_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksBurst_create()
939 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addInputRole()
952 const ANeuralNetworksCompilation* compilation, in ANeuralNetworksMemoryDesc_addOutputRole()
1200 ANeuralNetworksCompilation** compilation) { in ANeuralNetworksCompilation_create()
1228 void ANeuralNetworksCompilation_free(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_free()
1251 int ANeuralNetworksCompilation_finish(ANeuralNetworksCompilation* compilation) { in ANeuralNetworksCompilation_finish()
1284 int ANeuralNetworksExecution_create(ANeuralNetworksCompilation* compilation, in ANeuralNetworksExecution_create()
DMemory.cpp78 bool validate(const CompilationBuilder* compilation, IOType, uint32_t, in validate()
105 bool validate(const CompilationBuilder* compilation, IOType ioType, uint32_t index, in validate()
317 int MemoryBuilder::addRole(const CompilationBuilder& compilation, IOType ioType, uint32_t index, in addRole()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DFuzzTest.cpp158 Compilation compilation(&model); in CreateCompilation() local
165 std::optional<Execution> CreateExecution(const Compilation& compilation, in CreateExecution()
200 auto compilation = CreateCompilation(models->front()); in nnapiFuzzTest() local
/packages/modules/Virtualization/compos/src/
Dcompsvc_main.rs20 mod compilation; module
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimPreparedModel.h36 ::android::nn::sl_wrapper::Compilation compilation, in ShimPreparedModel()
DSupportLibraryWrapper.h359 ANeuralNetworksCompilation* compilation = nullptr; in createForDevices() local
479 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation) in Compilation()
488 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) in Execution()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapper.h474 ANeuralNetworksCompilation* compilation = nullptr; local
579 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation)
593 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) : mNnApi(nnapi) {
/packages/modules/NeuralNetworks/common/cpu_operations/
DMultinomialTest.cpp66 Compilation compilation(&model_); in Invoke() local
DLSHProjectionTest.cpp101 Compilation compilation(&model_); in Invoke() local
DEmbeddingLookupTest.cpp98 Compilation compilation(&model_); in Invoke() local
DHashtableLookupTest.cpp113 Compilation compilation(&model_); in Invoke() local

12