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/_json_printer_test_impl_8hpp.xhtml | 155 +++++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 21.02/_json_printer_test_impl_8hpp.xhtml (limited to '21.02/_json_printer_test_impl_8hpp.xhtml') diff --git a/21.02/_json_printer_test_impl_8hpp.xhtml b/21.02/_json_printer_test_impl_8hpp.xhtml new file mode 100644 index 0000000000..c3910d0440 --- /dev/null +++ b/21.02/_json_printer_test_impl_8hpp.xhtml @@ -0,0 +1,155 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/JsonPrinterTestImpl.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
JsonPrinterTestImpl.hpp File Reference
+
+
+
#include <armnn/BackendId.hpp>
+#include <vector>
+
+

Go to the source code of this file.

+ + + + +

+Functions

void RunSoftmaxProfilerJsonPrinterTest (const std::vector< armnn::BackendId > &backends)
 
+

Function Documentation

+ +

◆ RunSoftmaxProfilerJsonPrinterTest()

+ +
+
+ + + + + + + + +
void RunSoftmaxProfilerJsonPrinterTest (const std::vector< armnn::BackendId > & backends)
+
+ +

Definition at line 245 of file JsonPrinterTestImpl.cpp.

+ +

References armnn::CpuAcc, GetSoftmaxProfilerJson(), armnn::GpuAcc, and ValidateProfilerJson().

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
246 {
247  // setup the test fixture and obtain JSON Printer result
248  std::string result = GetSoftmaxProfilerJson(backends);
249 
250  // validate the JSON Printer result
251  ValidateProfilerJson(result);
252 
253  const armnn::BackendId& firstBackend = backends.at(0);
254  if (firstBackend == armnn::Compute::GpuAcc)
255  {
256  BOOST_CHECK(result.find("OpenClKernelTimer/: softmax_layer_max_shift_exp_sum_quantized_serial GWS[,,]")
257  != std::string::npos);
258  }
259  else if (firstBackend == armnn::Compute::CpuAcc)
260  {
261  BOOST_CHECK(result.find("NeonKernelTimer/: CpuLogitsDLogSoftmaxKernel_#") != std::string::npos);
262  }
263 }
std::string GetSoftmaxProfilerJson(const std::vector< armnn::BackendId > &backends)
+
GPU Execution: OpenCL: ArmCompute.
+
CPU Execution: NEON: ArmCompute.
+
void ValidateProfilerJson(std::string &result)
+ +
+
+
+
+
+ + + + -- cgit v1.2.1