Lines Matching refs:execution
125 Execution execution(&compilation); in TEST_F() local
126 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
127 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
128 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
129 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F()
162 Execution execution(&compilation); in testAddTwoWithHardwareBufferInput() local
163 ASSERT_EQ(execution.setInputFromMemory(0, &matrix1Memory, 0, sizeof(Matrix3x4)), in testAddTwoWithHardwareBufferInput()
165 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
166 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
182 ANeuralNetworksExecution* executionHandle = execution.getHandle(); in testAddTwoWithHardwareBufferInput()
190 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
297 Execution execution(&compilation); in TEST_F() local
298 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
299 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F()
300 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
301 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F()
326 Execution execution(&compilation); in TEST_F() local
327 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
328 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F()
329 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
330 ASSERT_EQ(execution.compute(), Result::NO_ERROR); in TEST_F()