From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_neon_mem_copy_tests_8cpp_source.xhtml | 125 +++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 20.02/_neon_mem_copy_tests_8cpp_source.xhtml (limited to '20.02/_neon_mem_copy_tests_8cpp_source.xhtml') diff --git a/20.02/_neon_mem_copy_tests_8cpp_source.xhtml b/20.02/_neon_mem_copy_tests_8cpp_source.xhtml new file mode 100644 index 0000000000..18c1bd6bc4 --- /dev/null +++ b/20.02/_neon_mem_copy_tests_8cpp_source.xhtml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + +ArmNN: src/backends/neon/test/NeonMemCopyTests.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonMemCopyTests.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
7 
9 
11 
14 
15 #include <boost/test/unit_test.hpp>
16 
17 BOOST_AUTO_TEST_SUITE(NeonMemCopy)
18 
19 BOOST_AUTO_TEST_CASE(CopyBetweenCpuAndNeon)
20 {
22  MemCopyTest<armnn::RefWorkloadFactory, armnn::NeonWorkloadFactory, armnn::DataType::Float32>(false);
23  BOOST_TEST(CompareTensors(result.output, result.outputExpected));
24 }
25 
26 BOOST_AUTO_TEST_CASE(CopyBetweenNeonAndCpu)
27 {
29  MemCopyTest<armnn::NeonWorkloadFactory, armnn::RefWorkloadFactory, armnn::DataType::Float32>(false);
30  BOOST_TEST(CompareTensors(result.output, result.outputExpected));
31 }
32 
33 BOOST_AUTO_TEST_CASE(CopyBetweenCpuAndNeonWithSubtensors)
34 {
36  MemCopyTest<armnn::RefWorkloadFactory, armnn::NeonWorkloadFactory, armnn::DataType::Float32>(true);
37  BOOST_TEST(CompareTensors(result.output, result.outputExpected));
38 }
39 
40 BOOST_AUTO_TEST_CASE(CopyBetweenNeonAndCpuWithSubtensors)
41 {
43  MemCopyTest<armnn::NeonWorkloadFactory, armnn::RefWorkloadFactory, armnn::DataType::Float32>(true);
44  BOOST_TEST(CompareTensors(result.output, result.outputExpected));
45 }
46 
BOOST_AUTO_TEST_SUITE(TensorflowLiteParser)
+ +
boost::test_tools::predicate_result CompareTensors(const boost::multi_array< T, n > &a, const boost::multi_array< T, n > &b, bool compareBoolean=false)
+
boost::multi_array< T, n > outputExpected
+ + + +
boost::multi_array< T, n > output
+
BOOST_AUTO_TEST_SUITE_END()
+
BOOST_AUTO_TEST_CASE(CopyBetweenCpuAndNeon)
+ + +
+
+ + + + -- cgit v1.2.1