aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/CL/functions/CLReshapeLayer.cpp2
-rw-r--r--src/runtime/CPP/CPPScheduler.cpp2
-rw-r--r--src/runtime/OMP/OMPScheduler.cpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/CL/functions/CLReshapeLayer.cpp b/src/runtime/CL/functions/CLReshapeLayer.cpp
index b1ca7a821d..b98a99dec3 100644
--- a/src/runtime/CL/functions/CLReshapeLayer.cpp
+++ b/src/runtime/CL/functions/CLReshapeLayer.cpp
@@ -27,6 +27,7 @@
#include "arm_compute/core/CL/kernels/CLReshapeLayerKernel.h"
#include "support/ToolchainSupport.h"
+/** [CLReshapeLayer snippet] **/
using namespace arm_compute;
void CLReshapeLayer::configure(const ICLTensor *input, ICLTensor *output)
@@ -40,3 +41,4 @@ Status CLReshapeLayer::validate(const ITensorInfo *input, const ITensorInfo *out
{
return CLReshapeLayerKernel::validate(input, output);
}
+/** [CLReshapeLayer snippet] **/
diff --git a/src/runtime/CPP/CPPScheduler.cpp b/src/runtime/CPP/CPPScheduler.cpp
index 68611f7eea..2b179fd5ff 100644
--- a/src/runtime/CPP/CPPScheduler.cpp
+++ b/src/runtime/CPP/CPPScheduler.cpp
@@ -228,6 +228,7 @@ unsigned int CPPScheduler::num_threads() const
return _num_threads;
}
+#ifndef DOXYGEN_SKIP_THIS
void CPPScheduler::run_workloads(std::vector<IScheduler::Workload> &workloads)
{
const unsigned int num_threads = std::min(_num_threads, static_cast<unsigned int>(workloads.size()));
@@ -262,6 +263,7 @@ void CPPScheduler::run_workloads(std::vector<IScheduler::Workload> &workloads)
std::cerr << "Caught system_error with code " << e.code() << " meaning " << e.what() << '\n';
}
}
+#endif /* DOXYGEN_SKIP_THIS */
void CPPScheduler::schedule(ICPPKernel *kernel, const Hints &hints)
{
diff --git a/src/runtime/OMP/OMPScheduler.cpp b/src/runtime/OMP/OMPScheduler.cpp
index 77ee233cdd..2355389dbd 100644
--- a/src/runtime/OMP/OMPScheduler.cpp
+++ b/src/runtime/OMP/OMPScheduler.cpp
@@ -89,6 +89,7 @@ void OMPScheduler::schedule(ICPPKernel *kernel, const Hints &hints)
}
}
+#ifndef DOXYGEN_SKIP_THIS
void OMPScheduler::run_workloads(std::vector<arm_compute::IScheduler::Workload> &workloads)
{
const unsigned int num_threads = std::min(_num_threads, static_cast<unsigned int>(workloads.size()));
@@ -107,3 +108,4 @@ void OMPScheduler::run_workloads(std::vector<arm_compute::IScheduler::Workload>
workloads[tid](info);
}
}
+#endif /* DOXYGEN_SKIP_THIS */