From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_execution_frame_test_8cpp.xhtml | 151 +++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 21.02/_execution_frame_test_8cpp.xhtml (limited to '21.02/_execution_frame_test_8cpp.xhtml') diff --git a/21.02/_execution_frame_test_8cpp.xhtml b/21.02/_execution_frame_test_8cpp.xhtml new file mode 100644 index 0000000000..7350d12ef9 --- /dev/null +++ b/21.02/_execution_frame_test_8cpp.xhtml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/test/ExecutionFrameTest.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ExecutionFrameTest.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include <ExecutionFrame.hpp>
+
+

Go to the source code of this file.

+ + + + +

+Functions

 BOOST_AUTO_TEST_CASE (NextExecutionFrameTest)
 
+

Function Documentation

+ +

◆ BOOST_AUTO_TEST_CASE()

+ +
+
+ + + + + + + + +
BOOST_AUTO_TEST_CASE (NextExecutionFrameTest )
+
+ +

Definition at line 17 of file ExecutionFrameTest.cpp.

+ +

References ExecutionFrame::ExecuteWorkloads(), and ExecutionFrame::SetNextExecutionFrame().

+
18 {
19  armnn::ExecutionFrame executionFrameA;
20  armnn::ExecutionFrame executionFrameB;
21  armnn::ExecutionFrame executionFrameC;
22 
23  executionFrameA.SetNextExecutionFrame(&executionFrameB);
24  executionFrameB.SetNextExecutionFrame(&executionFrameC);
25  //not setting C to check that the default setting is nullptr.
26 
27  auto nextExecutionFrameA = executionFrameA.ExecuteWorkloads(nullptr);
28  auto nextExecutionFrameB = executionFrameB.ExecuteWorkloads(&executionFrameA);
29  auto nextExecutionFrameC = executionFrameC.ExecuteWorkloads(&executionFrameB);
30 
31  BOOST_CHECK_EQUAL(nextExecutionFrameA, &executionFrameB);
32  BOOST_CHECK_EQUAL(nextExecutionFrameB, &executionFrameC);
33 
34  BOOST_CHECK(!nextExecutionFrameC);
35 
36  BOOST_CHECK_NE(nextExecutionFrameA, &executionFrameC);
37 }
IExecutionFrame * ExecuteWorkloads(IExecutionFrame *previousFrame) override
+
void SetNextExecutionFrame(IExecutionFrame *nextExecutionFrame)
+ +
+
+
+
+
+ + + + -- cgit v1.2.1