Lines Matching refs:execution

126     Execution execution(&compilation);  in TEST_F()  local
127 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
128 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
129 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
130 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F()
168 Execution execution(&compilation); in testAddTwoWithHardwareBufferInput() local
169 ASSERT_EQ(execution.setInputFromMemory(0, &matrix1Memory, 0, sizeof(Matrix3x4)), in testAddTwoWithHardwareBufferInput()
171 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
172 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
188 ANeuralNetworksExecution* executionHandle = execution.getHandle(); in testAddTwoWithHardwareBufferInput()
196 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
305 Execution execution(&compilation); in TEST_F() local
306 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
307 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F()
308 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
309 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F()
334 Execution execution(&compilation); in TEST_F() local
335 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
336 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F()
337 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
338 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F()