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/_json_printer_test_impl_8hpp.xhtml | 156 +++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 20.02/_json_printer_test_impl_8hpp.xhtml (limited to '20.02/_json_printer_test_impl_8hpp.xhtml') diff --git a/20.02/_json_printer_test_impl_8hpp.xhtml b/20.02/_json_printer_test_impl_8hpp.xhtml new file mode 100644 index 0000000000..26cd3d3626 --- /dev/null +++ b/20.02/_json_printer_test_impl_8hpp.xhtml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/JsonPrinterTestImpl.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.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 BOOST_CHECK(), 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(boost::contains(result,
257  "OpenClKernelTimer/: softmax_layer_max_shift_exp_sum_quantized_serial GWS[,,]"));
258  }
259  else if (firstBackend == armnn::Compute::CpuAcc)
260  {
261  BOOST_CHECK(boost::contains(result,
262  "NeonKernelTimer/: NEFillBorderKernel"));
263  }
264 }
std::string GetSoftmaxProfilerJson(const std::vector< armnn::BackendId > &backends)
+
BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)
+
GPU Execution: OpenCL: ArmCompute.
+
CPU Execution: NEON: ArmCompute.
+
void ValidateProfilerJson(std::string &result)
+ +
+
+
+
+
+ + + + -- cgit v1.2.1