aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/kernels/crop/generic/neon
diff options
context:
space:
mode:
authorDana Zlotnik <dana.zlotnik@arm.com>2022-02-21 13:12:41 +0200
committerDana Zlotnik <dana.zlotnik@arm.com>2022-03-01 11:19:23 +0000
commita538ae583c8816f69d05b98c62a9d3092f88f798 (patch)
tree33ffb4611e9d660223b50d805ac60babbaba4ebb /src/cpu/kernels/crop/generic/neon
parentee9050089e391e598cd58e05bc7a07597a6d1db0 (diff)
downloadComputeLibrary-a538ae583c8816f69d05b98c62a9d3092f88f798.tar.gz
Multi ISA Technical Debt
* Update json struct meet multi-ISA updates * Add impl.cpp in kernels where we only have impl.h Resolves COMPMID-5173 Change-Id: I5da3c4b016a5d0115c4ba46cbfefde7bce518ac1 Signed-off-by: Dana Zlotnik <dana.zlotnik@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7191 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu/kernels/crop/generic/neon')
-rw-r--r--src/cpu/kernels/crop/generic/neon/integer.cpp4
-rw-r--r--src/cpu/kernels/crop/generic/neon/list.h54
2 files changed, 2 insertions, 56 deletions
diff --git a/src/cpu/kernels/crop/generic/neon/integer.cpp b/src/cpu/kernels/crop/generic/neon/integer.cpp
index 7dbf0a7f5e..ebf2c1fbd3 100644
--- a/src/cpu/kernels/crop/generic/neon/integer.cpp
+++ b/src/cpu/kernels/crop/generic/neon/integer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Arm Limited.
+ * Copyright (c) 2021-2022 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -23,7 +23,7 @@
*/
#include "src/cpu/kernels/crop/generic/neon/impl.h"
-#include "src/cpu/kernels/crop/generic/neon/list.h"
+#include "src/cpu/kernels/crop/list.h"
namespace arm_compute
{
diff --git a/src/cpu/kernels/crop/generic/neon/list.h b/src/cpu/kernels/crop/generic/neon/list.h
deleted file mode 100644
index f33049304d..0000000000
--- a/src/cpu/kernels/crop/generic/neon/list.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2021 Arm Limited.
- *
- * SPDX-License-Identifier: MIT
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-#ifndef SRC_CORE_NEON_KERNELS_CROP_LIST_H
-#define SRC_CORE_NEON_KERNELS_CROP_LIST_H
-
-#include "arm_compute/core/Helpers.h"
-#include "arm_compute/core/TensorInfo.h"
-#include "src/core/NEON/wrapper/wrapper.h"
-#include "src/core/common/Registrars.h"
-#include "src/cpu/kernels/crop/generic/neon/impl.h"
-
-namespace arm_compute
-{
-namespace cpu
-{
-#define DECLARE_CROP_KERNEL(func_name) \
- void func_name(const ITensor *input, const ITensor *output, float *output_ptr, Coordinates input_offset, \
- int32_t window_step_x, int32_t output_width_start, int32_t output_width_limit, bool input_has_single_channel, bool is_width_flipped)
-
-DECLARE_CROP_KERNEL(fp16_in_bounds_crop_window);
-DECLARE_CROP_KERNEL(fp32_in_bounds_crop_window);
-DECLARE_CROP_KERNEL(s8_in_bounds_crop_window);
-DECLARE_CROP_KERNEL(s16_in_bounds_crop_window);
-DECLARE_CROP_KERNEL(s32_in_bounds_crop_window);
-DECLARE_CROP_KERNEL(u8_in_bounds_crop_window);
-DECLARE_CROP_KERNEL(u16_in_bounds_crop_window);
-DECLARE_CROP_KERNEL(u32_in_bounds_crop_window);
-
-#undef DECLARE_CROP_KERNEL
-
-} // namespace cpu
-} // namespace arm_compute
-#endif //SRC_CORE_NEON_KERNELS_CROP_LIST_H