Searched refs:execution2 (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestMemory.cpp | 83 WrapperExecution execution2(&compilation2); in TEST_F() local 84 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 85 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 86 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F() 141 WrapperExecution execution2(&compilation2); in TEST_F() local 142 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 143 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 144 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
|
D | TestTrivialModel.cpp | 190 Execution execution2(&compilation2); in TEST_F() local 191 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 192 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 193 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 194 ASSERT_EQ(execution2.compute(), Result::NO_ERROR); in TEST_F() 231 Execution execution2(&compilation); in TEST_F() local 232 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 233 ASSERT_EQ(execution2.setInput(1, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 234 ASSERT_EQ(execution2.setOutput(0, output2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F() 236 ANeuralNetworksExecution* execution2_handle = execution2.getHandle(); in TEST_F()
|
D | TestMemoryInternal.cpp | 163 WrapperExecution execution2(&compilation2); in TEST_F() local 164 ASSERT_EQ(execution2.setInputFromMemory(0, &input, offsetForMatrix1, sizeof(Matrix3x4)), in TEST_F() 166 ASSERT_EQ(execution2.setOutputFromMemory(0, &actual, offsetForActual, sizeof(Matrix3x4)), in TEST_F() 168 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
|
D | TestValidation.cpp | 1818 ANeuralNetworksExecution* execution2; in TEST_F() local 1820 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution2), ANEURALNETWORKS_NO_ERROR); in TEST_F() 1824 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution2, nullptr, 1, 0, in TEST_F() 1827 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution2, &event1, 1, 0, in TEST_F() 1831 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution2, wait_for_list, 2, 0, in TEST_F() 1837 ANeuralNetworksExecution_free(execution2); in TEST_F()
|