Searched refs:execution2 (Results 1 – 4 of 4) sorted by relevance
/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | TestMemory.cpp | 84 WrapperExecution execution2(&compilation2); in TEST_F() local 85 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 86 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 87 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F() 147 WrapperExecution execution2(&compilation2); in TEST_F() local 148 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 149 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 150 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
|
H A D | TestTrivialModel.cpp | 210 Execution execution2(&compilation2); in TEST_F() local 211 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 212 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 213 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 214 ASSERT_EQ(execution2.compute(), Result::NO_ERROR); in TEST_F() 251 Execution execution2(&compilation); in TEST_F() local 252 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 253 ASSERT_EQ(execution2.setInput(1, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 254 ASSERT_EQ(execution2.setOutput(0, output2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 256 ANeuralNetworksExecution* execution2_handle = execution2.getHandle(); in TEST_F()
|
H A D | TestMemoryInternal.cpp | 162 WrapperExecution execution2(&compilation2); in TEST_F() local 163 ASSERT_EQ(execution2.setInputFromMemory(0, &input, offsetForMatrix1, sizeof(Matrix3x4)), in TEST_F() 165 ASSERT_EQ(execution2.setOutputFromMemory(0, &actual, offsetForActual, sizeof(Matrix3x4)), in TEST_F() 167 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
|
H A D | TestValidation.cpp | 2336 ANeuralNetworksExecution* execution2; in TEST_F() local 2338 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution2), ANEURALNETWORKS_NO_ERROR); in TEST_F() 2342 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution2, nullptr, 1, 0, in TEST_F() 2345 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution2, &event1, 1, 0, in TEST_F() 2349 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution2, wait_for_list, 2, 0, in TEST_F() 2355 ANeuralNetworksExecution_free(execution2); in TEST_F()
|