Home
last modified time | relevance | path

Searched refs:WrapperResult (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestMemory.cpp31 using WrapperResult = ::android::nn::test_wrapper::Result; typedef
82 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F()
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()
140 ASSERT_EQ(compilation2.finish(), WrapperResult::NO_ERROR); in TEST_F()
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()
DTestMemoryInternal.cpp38 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()
226 ASSERT_EQ(WrapperResult::NO_ERROR, compilation.finish()); in TEST_F()
231 ASSERT_EQ(WrapperResult::NO_ERROR, execution.setInput(0, input, sizeof(input))); in TEST_F()
233 ASSERT_EQ(WrapperResult::NO_ERROR, execution.setOutput(0, output, sizeof(output))); in TEST_F()
236 WrapperResult r = execution.compute(); in TEST_F()
238 ASSERT_EQ(WrapperResult::OP_FAILED, r); in TEST_F()