From d646ae17893a89771cdc61ac8790f7e241ecd799 Mon Sep 17 00:00:00 2001 From: Vidhya Sudhan Loganathan Date: Mon, 19 Nov 2018 15:18:20 +0000 Subject: COMPMID-1065 : Create documentation explaining how to add new functions / kernels Change-Id: I98183f95814442b6f3dbb67a1bdae99df05b9b01 --- src/core/CL/ICLKernel.cpp | 2 ++ src/core/CL/kernels/CLReshapeLayerKernel.cpp | 2 ++ src/core/NEON/kernels/NEReshapeLayerKernel.cpp | 2 ++ src/core/NEON/kernels/NEWinogradConvolutionLayerKernel.cpp | 2 ++ src/core/Utils.cpp | 4 ++-- 5 files changed, 10 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/CL/ICLKernel.cpp b/src/core/CL/ICLKernel.cpp index 491e0c4b91..995fcb481b 100644 --- a/src/core/CL/ICLKernel.cpp +++ b/src/core/CL/ICLKernel.cpp @@ -110,10 +110,12 @@ void ICLKernel::add_tensor_argument(unsigned &idx, const ICLTensor *tensor, cons ARM_COMPUTE_UNUSED(idx_start); } +#ifndef DOXYGEN_SKIP_THIS template void ICLKernel::add_tensor_argument<1>(unsigned &idx, const ICLTensor *tensor, const Window &window); template void ICLKernel::add_tensor_argument<2>(unsigned &idx, const ICLTensor *tensor, const Window &window); template void ICLKernel::add_tensor_argument<3>(unsigned &idx, const ICLTensor *tensor, const Window &window); template void ICLKernel::add_tensor_argument<4>(unsigned &idx, const ICLTensor *tensor, const Window &window); +#endif /* DOXYGEN_SKIP_THIS */ void ICLKernel::set_target(cl::Device &device) { diff --git a/src/core/CL/kernels/CLReshapeLayerKernel.cpp b/src/core/CL/kernels/CLReshapeLayerKernel.cpp index a275e9e874..aa1339dd1e 100644 --- a/src/core/CL/kernels/CLReshapeLayerKernel.cpp +++ b/src/core/CL/kernels/CLReshapeLayerKernel.cpp @@ -37,6 +37,7 @@ #include +/** [CLReshapeLayerKernel Kernel] **/ using namespace arm_compute; namespace @@ -123,3 +124,4 @@ void CLReshapeLayerKernel::run(const Window &window, cl::CommandQueue &queue) add_3D_tensor_argument(idx, _output, window_collapsed); enqueue(queue, *this, slice); } +/** [CLReshapeLayerKernel Kernel] **/ diff --git a/src/core/NEON/kernels/NEReshapeLayerKernel.cpp b/src/core/NEON/kernels/NEReshapeLayerKernel.cpp index 298f50b93d..c71899144d 100644 --- a/src/core/NEON/kernels/NEReshapeLayerKernel.cpp +++ b/src/core/NEON/kernels/NEReshapeLayerKernel.cpp @@ -35,6 +35,7 @@ #include +/** [NEReshapeLayerKernel Kernel] **/ using namespace arm_compute; namespace @@ -120,3 +121,4 @@ void NEReshapeLayerKernel::run(const Window &window, const ThreadInfo &info) ARM_COMPUTE_ERROR("Unsupported data type!"); } } +/** [NEReshapeLayerKernel Kernel] **/ diff --git a/src/core/NEON/kernels/NEWinogradConvolutionLayerKernel.cpp b/src/core/NEON/kernels/NEWinogradConvolutionLayerKernel.cpp index f5609b6f5c..3e76a080fd 100644 --- a/src/core/NEON/kernels/NEWinogradConvolutionLayerKernel.cpp +++ b/src/core/NEON/kernels/NEWinogradConvolutionLayerKernel.cpp @@ -249,6 +249,7 @@ int NEWinogradLayerTransformWeightsKernel void NEWinogradLayerTransformWeightsKernel::configure( const ITensor *weights_hwio, @@ -270,6 +271,7 @@ void NEWinogradLayerTransformWeightsKernel void NEWinogradLayerTransformWeightsKernel::run(const Window &window, const ThreadInfo &info) diff --git a/src/core/Utils.cpp b/src/core/Utils.cpp index 78c3dba25a..39dad8f581 100644 --- a/src/core/Utils.cpp +++ b/src/core/Utils.cpp @@ -34,7 +34,7 @@ #include using namespace arm_compute; - +#ifndef DOXYGEN_SKIP_THIS std::string arm_compute::build_information() { static const std::string information = @@ -42,7 +42,7 @@ std::string arm_compute::build_information() ; return information; } - +#endif /* DOXYGEN_SKIP_THIS */ std::string arm_compute::read_file(const std::string &filename, bool binary) { std::string out; -- cgit v1.2.1