From a983e4699082a0b1ef685bab7354f2ad9cd37a44 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 20 May 2020 16:12:19 +0100 Subject: Updating Doxygen documentation for 20.05 release. Change-Id: I4d624343ed5fd6ae269c3d53532903084508fd14 Signed-off-by: Colm Donelan --- 20.05/_backend_id_tests_8cpp.xhtml | 176 +++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 20.05/_backend_id_tests_8cpp.xhtml (limited to '20.05/_backend_id_tests_8cpp.xhtml') diff --git a/20.05/_backend_id_tests_8cpp.xhtml b/20.05/_backend_id_tests_8cpp.xhtml new file mode 100644 index 0000000000..6bd88ac2e0 --- /dev/null +++ b/20.05/_backend_id_tests_8cpp.xhtml @@ -0,0 +1,176 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/BackendIdTests.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
BackendIdTests.cpp File Reference
+
+
+
#include <armnn/BackendId.hpp>
+#include <armnn/Types.hpp>
+#include <boost/test/unit_test.hpp>
+
+

Go to the source code of this file.

+ + + + + + +

+Functions

 BOOST_AUTO_TEST_CASE (CreateBackendIdFromCompute)
 
 BOOST_AUTO_TEST_CASE (CreateBackendIdVectorFromCompute)
 
+

Function Documentation

+ +

◆ BOOST_AUTO_TEST_CASE() [1/2]

+ +
+
+ + + + + + + + +
BOOST_AUTO_TEST_CASE (CreateBackendIdFromCompute )
+
+ +

Definition at line 15 of file BackendIdTests.cpp.

+ +

References armnn::GetComputeDeviceAsCString(), and armnn::GpuAcc.

+
16 {
17  BackendId fromCompute{Compute::GpuAcc};
18  BOOST_TEST(fromCompute.Get() == GetComputeDeviceAsCString(Compute::GpuAcc));
19 }
constexpr char const * GetComputeDeviceAsCString(Compute compute)
Deprecated function that will be removed together with the Compute enum.
Definition: BackendId.hpp:34
+ +
+
+
+ +

◆ BOOST_AUTO_TEST_CASE() [2/2]

+ +
+
+ + + + + + + + +
BOOST_AUTO_TEST_CASE (CreateBackendIdVectorFromCompute )
+
+ +

Definition at line 21 of file BackendIdTests.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END(), armnn::CpuRef, armnn::GetComputeDeviceAsCString(), and armnn::GpuAcc.

+
22 {
23  std::vector<BackendId> fromComputes = {Compute::GpuAcc, Compute::CpuRef};
24  BOOST_TEST(fromComputes[0].Get() == GetComputeDeviceAsCString(Compute::GpuAcc));
25  BOOST_TEST(fromComputes[1].Get() == GetComputeDeviceAsCString(Compute::CpuRef));
26 }
constexpr char const * GetComputeDeviceAsCString(Compute compute)
Deprecated function that will be removed together with the Compute enum.
Definition: BackendId.hpp:34
+
+
+
+
+
+ + + + -- cgit v1.2.1