Searched refs:WrapperResult (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestMemory.cpp | 31 using WrapperResult = ::android::nn::test_wrapper::Result; typedef 83 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F() 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() 141 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F() 143 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 144 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F() 145 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F()
|
D | TestMemoryInternal.cpp | 38 using WrapperResult = ::android::nn::test_wrapper::Result; typedef 161 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F() 165 WrapperResult::NO_ERROR); in TEST_F() 167 WrapperResult::NO_ERROR); in TEST_F() 168 ASSERT_EQ(execution2.compute(), WrapperResult::NO_ERROR); in TEST_F() 272 ASSERT_EQ(WrapperResult::NO_ERROR,compilation.finish()); in TEST_F() 277 ASSERT_EQ(WrapperResult::NO_ERROR, execution.setInput(0, input, sizeof(input))); in TEST_F() 279 ASSERT_EQ(WrapperResult::NO_ERROR, execution.setOutput(0, output, sizeof(output))); in TEST_F() 282 WrapperResult r = execution.compute(); in TEST_F() 284 ASSERT_EQ(WrapperResult::OP_FAILED, r); in TEST_F()
|