From 7bfd38a721360183f3392f9ab35db18a0dd7fef8 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 19 Aug 2022 15:23:36 +0100 Subject: Update Doxygen for 22.08 Release Signed-off-by: Nikhil Raj Change-Id: I4789fe868e0492839be1482e5cee3642ed90d756 --- 22.08/_execution_frame_test_8cpp_source.xhtml | 118 ++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 22.08/_execution_frame_test_8cpp_source.xhtml (limited to '22.08/_execution_frame_test_8cpp_source.xhtml') diff --git a/22.08/_execution_frame_test_8cpp_source.xhtml b/22.08/_execution_frame_test_8cpp_source.xhtml new file mode 100644 index 0000000000..c06c5a4b90 --- /dev/null +++ b/22.08/_execution_frame_test_8cpp_source.xhtml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/test/ExecutionFrameTest.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ExecutionFrameTest.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include <doctest/doctest.h>
7 
8 #include <ExecutionFrame.hpp>
9 
10 // Test that the values set in m_NextExecutionFrame are correct.
11 // The execution order is given by the m_NextExecutionFrame in each ExecutionFrame.
12 // A
13 // |
14 // B
15 // |
16 // C
17 TEST_SUITE("NextExecutionFrameTestSuite")
18 {
19 TEST_CASE("NextExecutionFrameTest")
20 {
21  armnn::ExecutionFrame executionFrameA;
22  armnn::ExecutionFrame executionFrameB;
23  armnn::ExecutionFrame executionFrameC;
24 
25  executionFrameA.SetNextExecutionFrame(&executionFrameB);
26  executionFrameB.SetNextExecutionFrame(&executionFrameC);
27  //not setting C to check that the default setting is nullptr.
28 
29  auto nextExecutionFrameA = executionFrameA.ExecuteWorkloads(nullptr);
30  auto nextExecutionFrameB = executionFrameB.ExecuteWorkloads(&executionFrameA);
31  auto nextExecutionFrameC = executionFrameC.ExecuteWorkloads(&executionFrameB);
32 
33  CHECK_EQ(nextExecutionFrameA, &executionFrameB);
34  CHECK_EQ(nextExecutionFrameB, &executionFrameC);
35 
36  CHECK(!nextExecutionFrameC);
37 
38  CHECK_NE(nextExecutionFrameA, &executionFrameC);
39 }
40 }
41 
IExecutionFrame * ExecuteWorkloads(IExecutionFrame *previousFrame) override
+ +
void SetNextExecutionFrame(IExecutionFrame *nextExecutionFrame)
+ +
TEST_SUITE("NextExecutionFrameTestSuite")
+
+
+ + + + -- cgit v1.2.1