Lines Matching refs:WrapperResult

60 using WrapperResult = nn::test_wrapper::Result;  typedef
654 : public ::testing::TestWithParam<std::tuple<V1_3::ErrorStatus, WrapperResult, bool>> {
687 EXPECT_EQ(execution.getOutputOperandDimensions(0, &dimensions), WrapperResult::BAD_STATE); in getDimensionsWhileRunning()
701 const WrapperResult kExpectResult;
713 WrapperResult::NO_ERROR); in setInputOutput()
715 WrapperResult::NO_ERROR); in setInputOutput()
734 assert(model.finish() == WrapperResult::NO_ERROR); in makeModel()
759 ASSERT_EQ(mCompilation.finish(), WrapperResult::NO_ERROR); in TestWait()
764 ASSERT_EQ(execution.setReusable(reusable), WrapperResult::NO_ERROR); in TestWait()
769 ASSERT_EQ(execution.startCompute(&event), WrapperResult::NO_ERROR); in TestWait()
773 if (kExpectResult == WrapperResult::NO_ERROR) { in TestWait()
777 if (kExpectResult == WrapperResult::NO_ERROR || in TestWait()
778 kExpectResult == WrapperResult::OUTPUT_INSUFFICIENT_SIZE) { in TestWait()
784 WrapperResult::BAD_STATE); in TestWait()
792 ASSERT_EQ(execution.setReusable(reusable), WrapperResult::NO_ERROR); in TestWait()
800 if (kExpectResult == WrapperResult::NO_ERROR) { in TestWait()
804 if (kExpectResult == WrapperResult::NO_ERROR || in TestWait()
805 kExpectResult == WrapperResult::OUTPUT_INSUFFICIENT_SIZE) { in TestWait()
811 WrapperResult::BAD_STATE); in TestWait()
824 ASSERT_EQ(execution.setReusable(reusable), WrapperResult::NO_ERROR); in TestWait()
834 if (kExpectResult == WrapperResult::NO_ERROR) { in TestWait()
838 if (kExpectResult == WrapperResult::NO_ERROR || in TestWait()
839 kExpectResult == WrapperResult::OUTPUT_INSUFFICIENT_SIZE) { in TestWait()
845 WrapperResult::BAD_STATE); in TestWait()
850 if (kExpectResult != WrapperResult::OUTPUT_INSUFFICIENT_SIZE) { in TestWait()
854 ASSERT_EQ(execution.setReusable(reusable), WrapperResult::NO_ERROR); in TestWait()
869 if (kExpectResult == WrapperResult::NO_ERROR) { in TestWait()
873 ASSERT_EQ(event.wait(), WrapperResult::UNEXPECTED_NULL); in TestWait()
876 if (kExpectResult == WrapperResult::NO_ERROR) { in TestWait()
882 WrapperResult::BAD_STATE); in TestWait()
890 std::make_tuple(V1_3::ErrorStatus::NONE, WrapperResult::NO_ERROR,
892 std::make_tuple(V1_3::ErrorStatus::DEVICE_UNAVAILABLE, WrapperResult::UNAVAILABLE_DEVICE,
894 std::make_tuple(V1_3::ErrorStatus::GENERAL_FAILURE, WrapperResult::OP_FAILED,
897 WrapperResult::OUTPUT_INSUFFICIENT_SIZE,
899 std::make_tuple(V1_3::ErrorStatus::INVALID_ARGUMENT, WrapperResult::BAD_DATA,
943 std::make_tuple(V1_3::ErrorStatus::NONE, WrapperResult::NO_ERROR,
945 std::make_tuple(V1_3::ErrorStatus::DEVICE_UNAVAILABLE, WrapperResult::UNAVAILABLE_DEVICE,
947 std::make_tuple(V1_3::ErrorStatus::GENERAL_FAILURE, WrapperResult::OP_FAILED,
950 WrapperResult::OUTPUT_INSUFFICIENT_SIZE,
952 std::make_tuple(V1_3::ErrorStatus::INVALID_ARGUMENT, WrapperResult::BAD_DATA,