giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 1 | /* |
Giorgio Arena | 5ae8d80 | 2021-11-18 18:02:13 +0000 | [diff] [blame] | 2 | * Copyright (c) 2021-2022 Arm Limited. |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | * of this software and associated documentation files (the "Software"), to |
| 8 | * deal in the Software without restriction, including without limitation the |
| 9 | * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
| 10 | * sell copies of the Software, and to permit persons to whom the Software is |
| 11 | * furnished to do so, subject to the following conditions: |
| 12 | * |
| 13 | * The above copyright notice and this permission notice shall be included in all |
| 14 | * copies or substantial portions of the Software. |
| 15 | * |
| 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | * SOFTWARE. |
| 23 | */ |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 24 | #ifndef ARM_COMPUTE_CPU_ELEMENTWISE_KERNEL_H |
| 25 | #define ARM_COMPUTE_CPU_ELEMENTWISE_KERNEL_H |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 26 | |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 27 | #include "src/core/common/Macros.h" |
Georgios Pinitas | 7891a73 | 2021-08-20 21:39:25 +0100 | [diff] [blame] | 28 | #include "src/cpu/ICpuKernel.h" |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 29 | |
| 30 | namespace arm_compute |
| 31 | { |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 32 | namespace cpu |
| 33 | { |
| 34 | namespace kernels |
| 35 | { |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 36 | /** Interface for an element-wise operation kernel |
| 37 | * |
| 38 | * Element-wise operation is computed by: |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 39 | * @f[ dst(x,y) = OP(src0(x,y), src1(x,y))@f] |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 40 | * |
| 41 | */ |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 42 | template <class Derived> |
| 43 | class CpuElementwiseKernel : public ICpuKernel<Derived> |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 44 | { |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 45 | private: |
| 46 | using ElementwiseKernelPtr = std::add_pointer<void(const ITensor *, const ITensor *, ITensor *, const Window &)>::type; |
| 47 | |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 48 | public: |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 49 | CpuElementwiseKernel() = default; |
| 50 | ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuElementwiseKernel); |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 51 | |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 52 | using ElementwiseFunction = void(const ITensor *, const ITensor *, ITensor *, const Window &); |
Michalis Spyrou | ce0c675 | 2020-06-18 10:14:57 +0100 | [diff] [blame] | 53 | // Inherited methods overridden: |
Georgios Pinitas | 0499dff | 2020-07-31 22:21:38 +0100 | [diff] [blame] | 54 | void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override; |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 55 | |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 56 | const char *name() const override; |
Michalis Spyrou | ce0c675 | 2020-06-18 10:14:57 +0100 | [diff] [blame] | 57 | |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 58 | struct ElementwiseKernel |
| 59 | { |
| 60 | const char *name; |
| 61 | const ElementwiseDataTypeISASelectorPtr is_selected; |
| 62 | ElementwiseKernelPtr ukernel; |
| 63 | }; |
| 64 | |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 65 | protected: |
| 66 | /** Validate the argument passed to the kernel |
| 67 | * |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 68 | * @param[in] src0 First tensor input. Data types supported: QASYMM8/S16/F16/S32/F32. |
| 69 | * @param[in] src1 Second tensor input. Data types supported: Same as @p src0. |
| 70 | * @param[in] dst Output tensor. Data types supported: Dependent on subclass. |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 71 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 72 | static Status validate_arguments_common(const ITensorInfo &src0, const ITensorInfo &src1, const ITensorInfo &dst); |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 73 | |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 74 | protected: |
| 75 | std::function<ElementwiseFunction> _run_method{ nullptr }; |
| 76 | std::string _name{}; |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 77 | }; |
| 78 | |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 79 | class CpuArithmeticKernel : public CpuElementwiseKernel<CpuArithmeticKernel> |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 80 | { |
| 81 | public: |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 82 | CpuArithmeticKernel() = default; |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 83 | |
Georgios Pinitas | 1813422 | 2020-09-03 21:00:23 +0100 | [diff] [blame] | 84 | /** Configure kernel |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 85 | * |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 86 | * @param[in] op Arithmetic operation to be executed. |
| 87 | * @param[in] src0 First tensor input info. Data types supported: QASYMM8/S16/F16/S32/F32. |
| 88 | * @param[in] src1 Second tensor input info. Data types supported: Same as @p src0. |
| 89 | * @param[out] dst Output tensor info. Data types supported: Same as @p src0. |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 90 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 91 | void configure(ArithmeticOperation op, const ITensorInfo *src0, const ITensorInfo *src1, ITensorInfo *dst); |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 92 | |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 93 | /** Static function to check if given info will lead to a valid configuration |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 94 | * |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 95 | * Similar to CpuArithmeticKernel::configure() |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 96 | * |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 97 | * @return a status |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 98 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 99 | static Status validate(ArithmeticOperation op, const ITensorInfo *src0, const ITensorInfo *src1, const ITensorInfo *dst); |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 100 | |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 101 | static const std::vector<CpuElementwiseKernel<CpuArithmeticKernel>::ElementwiseKernel> &get_available_kernels(); |
| 102 | |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 103 | protected: |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 104 | /** Commmon configure function for element-wise operators with no additional options (e.g. Min, Max, SquaredDiff) |
| 105 | */ |
| 106 | void configure_common(const ITensorInfo *src0, const ITensorInfo *src1, ITensorInfo *dst); |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 107 | // Inherited methods overridden: |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 108 | static Status validate_arguments(const ITensorInfo &src0, const ITensorInfo &src1, const ITensorInfo &dst); |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 109 | |
| 110 | ArithmeticOperation _op{}; |
| 111 | |
| 112 | private: |
| 113 | /** Function to get the micro kernel implementation |
| 114 | * |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 115 | * @param[in] src0 First input tensor information |
| 116 | * @param[in] src1 Second input tensor information |
| 117 | * @param[in] dst Output tensor information |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 118 | * |
| 119 | * @return the function instance for the micro kernel |
| 120 | */ |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 121 | }; |
| 122 | |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 123 | class CpuDivisionKernel : public CpuArithmeticKernel |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 124 | { |
| 125 | public: |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 126 | CpuDivisionKernel() = default; |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 127 | |
Georgios Pinitas | 1813422 | 2020-09-03 21:00:23 +0100 | [diff] [blame] | 128 | /** Configure kernel |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 129 | * |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 130 | * @param[in] src0 First tensor input info. Data types supported: S32/F16/F32. |
| 131 | * @param[in] src1 Second tensor input info. Data types supported: Same as @p src0. |
| 132 | * @param[out] dst Output tensor info. Data types supported: Same as @p src0. |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 133 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 134 | void configure(const ITensorInfo *src0, const ITensorInfo *src1, ITensorInfo *dst); |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 135 | |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 136 | /** Static function to check if given info will lead to a valid configuration |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 137 | * |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 138 | * Similar to CpuDivisionKernel::configure() |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 139 | * |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 140 | * @return a status |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 141 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 142 | static Status validate(const ITensorInfo *src0, const ITensorInfo *src1, const ITensorInfo *dst); |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 143 | |
| 144 | protected: |
| 145 | // Inherited methods overridden: |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 146 | static Status validate_arguments(const ITensorInfo &src0, const ITensorInfo &src1, const ITensorInfo &dst); |
George Wort | a1e7e28 | 2019-01-15 11:00:29 +0000 | [diff] [blame] | 147 | }; |
| 148 | |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 149 | class CpuPowerKernel : public CpuArithmeticKernel |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 150 | { |
| 151 | public: |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 152 | CpuPowerKernel() = default; |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 153 | |
Georgios Pinitas | 1813422 | 2020-09-03 21:00:23 +0100 | [diff] [blame] | 154 | /** Configure kernel |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 155 | * |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 156 | * @param[in] src0 First tensor input info. Data types supported: F16/F32. |
| 157 | * @param[in] src1 Second tensor input info. Data types supported: Same as @p src0. |
| 158 | * @param[out] dst Output tensor info. Data types supported: Same as @p src0. |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 159 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 160 | void configure(const ITensorInfo *src0, const ITensorInfo *src1, ITensorInfo *dst); |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 161 | |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 162 | /** Static function to check if given info will lead to a valid configuration |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 163 | * |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 164 | * Similar to CpuPowerKernel::configure() |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 165 | * |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 166 | * @return a status |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 167 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 168 | static Status validate(const ITensorInfo *src0, const ITensorInfo *src1, const ITensorInfo *dst); |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 169 | |
| 170 | protected: |
| 171 | // Inherited methods overridden: |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 172 | static Status validate_arguments(const ITensorInfo &src0, const ITensorInfo &src1, const ITensorInfo &dst); |
Usama Arif | 81e671e | 2019-05-13 13:33:14 +0100 | [diff] [blame] | 173 | }; |
| 174 | |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 175 | class CpuComparisonKernel : public CpuElementwiseKernel<CpuComparisonKernel> |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 176 | { |
| 177 | public: |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 178 | CpuComparisonKernel() = default; |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 179 | |
Georgios Pinitas | 1813422 | 2020-09-03 21:00:23 +0100 | [diff] [blame] | 180 | /** Configure kernel |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 181 | * |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 182 | * @param[in] op Comparison operation to be executed. |
| 183 | * @param[in] src0 First tensor input info. Data types supported: QASYMM8/QASYMM8_SIGNED/S16/F16/S32/F32. |
| 184 | * @param[in] src1 Second tensor input info. Data types supported: Same as @p src0. |
| 185 | * @param[out] dst Output tensor info. Data types supported: U8. |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 186 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 187 | void configure(ComparisonOperation op, const ITensorInfo *src0, const ITensorInfo *src1, ITensorInfo *dst); |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 188 | |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 189 | /** Static function to check if given info will lead to a valid configuration |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 190 | * |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 191 | * Similar to CpuComparisonKernel::configure() |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 192 | * |
Georgios Pinitas | 5fdde99 | 2021-06-25 05:42:57 +0100 | [diff] [blame] | 193 | * @return a status |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 194 | */ |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 195 | static Status validate(ComparisonOperation op, const ITensorInfo *src0, const ITensorInfo *src1, const ITensorInfo *dst); |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 196 | |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 197 | static const std::vector<CpuElementwiseKernel<CpuComparisonKernel>::ElementwiseKernel> &get_available_kernels(); |
| 198 | |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 199 | protected: |
Dana Zlotnik | 6a2df88 | 2022-01-17 09:54:26 +0200 | [diff] [blame^] | 200 | /** Commmon configure function for element-wise operators with no additional options (e.g. Min, Max, SquaredDiff) |
| 201 | */ |
| 202 | void configure_common(const ITensorInfo *src0, const ITensorInfo *src1, ITensorInfo *dst); |
George Wort | d88590f | 2018-12-12 17:39:58 +0000 | [diff] [blame] | 203 | // Inherited methods overridden: |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 204 | static Status validate_arguments(const ITensorInfo &src0, const ITensorInfo &src1, const ITensorInfo &dst); |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 205 | |
| 206 | private: |
| 207 | /** Function to get the micro kernel implementation |
| 208 | * |
Sang-Hoon Park | 668ccdc | 2021-02-03 10:32:59 +0000 | [diff] [blame] | 209 | * @param[in] src0 First input tensor information |
| 210 | * @param[in] src1 Second input tensor information |
| 211 | * @param[in] dst Output tensor information |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 212 | * |
| 213 | * @return the function instance for the micro kernel |
| 214 | */ |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 215 | |
| 216 | ComparisonOperation _op{}; |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 217 | }; |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 218 | } // namespace kernels |
| 219 | } // namespace cpu |
giuros01 | 92fd943 | 2018-12-03 17:30:00 +0000 | [diff] [blame] | 220 | } // namespace arm_compute |
Sang-Hoon Park | 63001ac | 2021-01-18 14:20:27 +0000 | [diff] [blame] | 221 | #endif /* ARM_COMPUTE_CPU_ELEMENTWISE_KERNEL_H */ |