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/CL | |
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/CL')
-rw-r--r-- | src/core/CL/ICLKernel.cpp | 2 | ||||
-rw-r--r-- | src/core/CL/kernels/CLReshapeLayerKernel.cpp | 2 |
2 files changed, 4 insertions, 0 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] **/ |