Home
last modified time | relevance | path

Searched refs:Compilation (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/ml/nn/runtime/test/
DTestNeuralNetworksWrapper.h244 class Compilation {
248 static std::pair<Result, Compilation> createForDevice(const Model* model, in createForDevice()
252 static std::pair<Result, Compilation> createForDevices( in createForDevices()
258 return {result, Compilation(compilation)}; in createForDevices()
261 Compilation(const Model* model) { in Compilation() function
268 Compilation() {} in Compilation() function
270 ~Compilation() { ANeuralNetworksCompilation_free(mCompilation); } in ~Compilation()
275 Compilation(const Compilation&) = delete;
276 Compilation& operator=(const Compilation&) = delete;
281 Compilation(Compilation&& other) { *this = std::move(other); } in Compilation() function
[all …]
DTestGenerated.cpp67 std::optional<Compilation> compileModel(const Model& model);
68 void executeWithCompilation(const Compilation& compilation, const TestModel& testModel);
114 std::optional<Compilation> GeneratedTests::compileModel(const Model& model) { in compileModel()
121 Compilation compilation1(&model); in compileModel()
124 Compilation compilation2(&model); in compileModel()
129 Compilation compilation(&model); in compileModel()
150 static ANeuralNetworksMemory* createDeviceMemoryForInput(const Compilation& compilation, in createDeviceMemoryForInput()
163 static ANeuralNetworksMemory* createDeviceMemoryForOutput(const Compilation& compilation, in createDeviceMemoryForOutput()
177 static void computeWithDeviceMemories(const Compilation& compilation, const TestModel& testModel, in computeWithDeviceMemories()
239 void GeneratedTests::executeWithCompilation(const Compilation& compilation, in executeWithCompilation()
[all …]
DTestTrivialModel.cpp115 Compilation compilation(&modelAdd2); in TEST_F()
144 Compilation compilation(&modelAdd2); in TEST_F()
188 Compilation compilation2(&modelAdd3); in TEST_F()
199 Compilation compilation3(&modelAdd3); in TEST_F()
212 Compilation compilation(&modelAdd3); in TEST_F()
271 Compilation compilation(&modelBroadcastAdd2); in TEST_F()
300 Compilation compilation(&modelBroadcastMul2); in TEST_F()
DTestMemoryDomain.cpp186 test_wrapper::Compilation createCompilation(const std::vector<std::string>& deviceNames) { in createCompilation()
187 test_wrapper::Compilation compilation; in createCompilation()
205 test_wrapper::Compilation::createForDevices(&kModel, devices); in createCompilation()
208 compilation = test_wrapper::Compilation(&kModel); in createCompilation()
215 const test_wrapper::Compilation& compilation, const std::vector<uint32_t>& inputIndexes, in allocateDeviceMemory()
266 test_wrapper::Compilation createCompilation(const std::vector<std::string>& deviceNames) { in createCompilation()
DTestControlFlow.cpp86 Compilation compilation(&model); in TEST_F()
DTestMemory.cpp26 using WrapperCompilation = ::android::nn::test_wrapper::Compilation;
DTestFailingDriver.cpp35 using WrapperCompilation = test_wrapper::Compilation;
DTestMemoryInternal.cpp33 using WrapperCompilation = ::android::nn::test_wrapper::Compilation;
DTestRemoveDefaultArguments.cpp105 using WrapperCompilation = test_wrapper::Compilation;
DTestUnknownDimensions.cpp239 Compilation compilation(&model); in TestOne()
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h349 class Compilation {
351 Compilation(const Model* model) { in Compilation() function
358 ~Compilation() { ANeuralNetworksCompilation_free(mCompilation); } in ~Compilation()
363 Compilation(const Compilation&) = delete;
364 Compilation& operator=(const Compilation&) = delete;
369 Compilation(Compilation&& other) { *this = std::move(other); } in Compilation() function
370 Compilation& operator=(Compilation&& other) {
407 Execution(const Compilation* compilation) { in Execution()
/frameworks/ml/nn/tools/systrace_parser/parser/test/
Domr1.txt6 …Initialization Preparation Compilation I/O Compute Results Ex. total …
21 …Initialization Preparation Compilation I/O Compute Results Ex. total …
36 …Initialization Preparation Compilation I/O Compute Results Ex. total …
51 …Initialization Preparation Compilation I/O Compute Results Ex. total …
66 …Initialization Preparation Compilation I/O Compute Results Ex. total …
Dunittest.txt6 …Initialization Preparation Compilation I/O Compute Results Ex. total …
21 …Initialization Preparation Compilation I/O Compute Results Ex. total …
Dhdrnet.txt6 …Initialization Preparation Compilation I/O Compute Results Ex. total …
Dold.txt6 …Initialization Preparation Compilation I/O Compute Results Ex. total …
Dcpu.txt6 …Initialization Preparation Compilation I/O Compute Results Ex. total …
/frameworks/ml/nn/runtime/test/android_fuzzing/
DFuzzTest.cpp95 std::optional<Compilation> CreateCompilation(const Model& model) { in CreateCompilation()
96 Compilation compilation(&model); in CreateCompilation()
103 std::optional<Execution> CreateExecution(const Compilation& compilation, in CreateExecution()
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt115 … t1: t_m_w:B|T1|[NN_LI_PI]getCapabilities Layer Runtime, Phase Compilation; see
122 …ATION, Compilation will be calcula…
137 … t1: t_m_w:B|T1|HIDL::IDevice::prepareModel_1_1::client IPC, Phase Compilation
140 …t4: t_m_w:B|T2|HIDL::IPreparedModelCallback::notify::clie Driver, Phase Compilation. This includes
153 …pareModel"); Driver, Phase Compilation.
/frameworks/ml/nn/common/operations/
DMultinomialTest.cpp61 Compilation compilation(&model_); in Invoke()
DEmbeddingLookupTest.cpp96 Compilation compilation(&model_); in Invoke()
DLSHProjectionTest.cpp101 Compilation compilation(&model_); in Invoke()
DHashtableLookupTest.cpp111 Compilation compilation(&model_); in Invoke()
DRNNTest.cpp196 Compilation compilation(&model_); in Invoke()
DSVDFTest.cpp239 Compilation compilation(&model_); in Invoke()
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp257 auto [result, compilation] = test_wrapper::Compilation::createForDevice(&model, refDevice); in computeGoldenResults()
309 auto [result, compilation] = test_wrapper::Compilation::createForDevice(model, device); in computeAndVerifyResultsForDevice()
354 test_wrapper::Compilation compilation(model); in computeAndVerifyResults()

12