diff options
author | Vidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com> | 2018-11-19 15:18:20 +0000 |
---|---|---|
committer | Anthony Barbier <Anthony.barbier@arm.com> | 2018-11-19 16:23:00 +0000 |
commit | d646ae17893a89771cdc61ac8790f7e241ecd799 (patch) | |
tree | 753ec98326b58064f520464feb112142a779534d /src/core | |
parent | e27887f9ec5e71b89829c7e8735839249e14bff9 (diff) | |
download | ComputeLibrary-d646ae17893a89771cdc61ac8790f7e241ecd799.tar.gz |
COMPMID-1065 : Create documentation explaining how to add new functions / kernels
Change-Id: I98183f95814442b6f3dbb67a1bdae99df05b9b01
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/CL/ICLKernel.cpp | 2 | ||||
-rw-r--r-- | src/core/CL/kernels/CLReshapeLayerKernel.cpp | 2 | ||||
-rw-r--r-- | src/core/NEON/kernels/NEReshapeLayerKernel.cpp | 2 | ||||
-rw-r--r-- | src/core/NEON/kernels/NEWinogradConvolutionLayerKernel.cpp | 2 | ||||
-rw-r--r-- | src/core/Utils.cpp | 4 |
5 files changed, 10 insertions, 2 deletions
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 <string> +/** [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 <cstdint> +/** [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<T, OutputTileRows, OutputTileCols, Ker return WinogradConv::get_kernel_matrix_stride(kernel_shape); } +#ifndef DOXYGEN_SKIP_THIS template <typename T, int OutputTileRows, int OutputTileCols, int KernelRows, int KernelCols> void NEWinogradLayerTransformWeightsKernel<T, OutputTileRows, OutputTileCols, KernelRows, KernelCols>::configure( const ITensor *weights_hwio, @@ -270,6 +271,7 @@ void NEWinogradLayerTransformWeightsKernel<T, OutputTileRows, OutputTileCols, Ke win.set(Window::DimX, Window::Dimension(0, win_last, 1)); INEKernel::configure(win); } +#endif /* DOXYGEN_SKIP_THIS */ template <typename T, int OutputTileRows, int OutputTileCols, int KernelRows, int KernelCols> void NEWinogradLayerTransformWeightsKernel<T, OutputTileRows, OutputTileCols, KernelRows, KernelCols>::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 <string> 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; |