From 0e2bab81442ee6cc2b94e4f7881ed0c5c6af65e7 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Thu, 19 Mar 2020 17:03:14 +0000 Subject: Creating gh-pages documentation for ArmNN Signed-off-by: Jim Flynn --- Documentation/_cl_mem_copy_tests_8cpp.xhtml | 240 ++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 Documentation/_cl_mem_copy_tests_8cpp.xhtml (limited to 'Documentation/_cl_mem_copy_tests_8cpp.xhtml') diff --git a/Documentation/_cl_mem_copy_tests_8cpp.xhtml b/Documentation/_cl_mem_copy_tests_8cpp.xhtml new file mode 100644 index 0000000000..312763dcac --- /dev/null +++ b/Documentation/_cl_mem_copy_tests_8cpp.xhtml @@ -0,0 +1,240 @@ + + + + + + + + + + + + + +ArmNN: src/backends/cl/test/ClMemCopyTests.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ClMemCopyTests.cpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + +

+Functions

 BOOST_AUTO_TEST_CASE (CopyBetweenCpuAndGpu)
 
 BOOST_AUTO_TEST_CASE (CopyBetweenGpuAndCpu)
 
 BOOST_AUTO_TEST_CASE (CopyBetweenCpuAndGpuWithSubtensors)
 
 BOOST_AUTO_TEST_CASE (CopyBetweenGpuAndCpuWithSubtensors)
 
+

Function Documentation

+ +

◆ BOOST_AUTO_TEST_CASE() [1/4]

+ +
+
+ + + + + + + + +
BOOST_AUTO_TEST_CASE (CopyBetweenCpuAndGpu )
+
+ +

Definition at line 18 of file ClMemCopyTests.cpp.

+ +

References CompareTensors(), LayerTestResult< T, n >::output, and LayerTestResult< T, n >::outputExpected.

+
19 {
21  MemCopyTest<armnn::RefWorkloadFactory, armnn::ClWorkloadFactory, armnn::DataType::Float32>(false);
22  BOOST_TEST(CompareTensors(result.output, result.outputExpected));
23 }
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_CASE() [2/4]

+ +
+
+ + + + + + + + +
BOOST_AUTO_TEST_CASE (CopyBetweenGpuAndCpu )
+
+ +

Definition at line 25 of file ClMemCopyTests.cpp.

+ +

References CompareTensors(), LayerTestResult< T, n >::output, and LayerTestResult< T, n >::outputExpected.

+
26 {
28  MemCopyTest<armnn::ClWorkloadFactory, armnn::RefWorkloadFactory, armnn::DataType::Float32>(false);
29  BOOST_TEST(CompareTensors(result.output, result.outputExpected));
30 }
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_CASE() [3/4]

+ +
+
+ + + + + + + + +
BOOST_AUTO_TEST_CASE (CopyBetweenCpuAndGpuWithSubtensors )
+
+ +

Definition at line 32 of file ClMemCopyTests.cpp.

+ +

References CompareTensors(), LayerTestResult< T, n >::output, and LayerTestResult< T, n >::outputExpected.

+
33 {
35  MemCopyTest<armnn::RefWorkloadFactory, armnn::ClWorkloadFactory, armnn::DataType::Float32>(true);
36  BOOST_TEST(CompareTensors(result.output, result.outputExpected));
37 }
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_CASE() [4/4]

+ +
+
+ + + + + + + + +
BOOST_AUTO_TEST_CASE (CopyBetweenGpuAndCpuWithSubtensors )
+
+ +

Definition at line 39 of file ClMemCopyTests.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END(), CompareTensors(), LayerTestResult< T, n >::output, and LayerTestResult< T, n >::outputExpected.

+
40 {
42  MemCopyTest<armnn::ClWorkloadFactory, armnn::RefWorkloadFactory, armnn::DataType::Float32>(true);
43  BOOST_TEST(CompareTensors(result.output, result.outputExpected));
44 }
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
+ +
+
+
+
+
+ + + + -- cgit v1.2.1