diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2020-12-02 13:22:14 +0000 |
---|---|---|
committer | Manuel Bottini <manuel.bottini@arm.com> | 2020-12-10 12:46:00 +0000 |
commit | 63bb7ca40e30b2db48d7bdd1adbc8223b53ac23c (patch) | |
tree | d831c217690d6d155c5ef426e42ee361d570ec59 /src/runtime/CL/functions/CLBitwiseOr.cpp | |
parent | 0b1c2db5c29ed80b7f4dd0c4fd6d4ed91b3d1538 (diff) | |
download | ComputeLibrary-63bb7ca40e30b2db48d7bdd1adbc8223b53ac23c.tar.gz |
COMPMID-3921: Remove OpenCL Padding CLBitwiseKernel
Adding BitwiseOperation enum class
Generalizing CL Bitwise kernels with a single CLBitwiseKernel
Removing CL padding from CLBitwiseKernel
Change-Id: I79cd79c1e425b6da7d52308a420edf8cfb7a5a36
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4646
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLBitwiseOr.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLBitwiseOr.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/runtime/CL/functions/CLBitwiseOr.cpp b/src/runtime/CL/functions/CLBitwiseOr.cpp index 38db5f78a0..fbda9ad289 100644 --- a/src/runtime/CL/functions/CLBitwiseOr.cpp +++ b/src/runtime/CL/functions/CLBitwiseOr.cpp @@ -23,12 +23,12 @@ */ #include "arm_compute/runtime/CL/functions/CLBitwiseOr.h" -#include "src/core/CL/kernels/CLBitwiseOrKernel.h" +#include "src/core/CL/kernels/CLBitwiseKernel.h" #include <utility> -using namespace arm_compute; - +namespace arm_compute +{ void CLBitwiseOr::configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); @@ -36,7 +36,8 @@ void CLBitwiseOr::configure(const ICLTensor *input1, const ICLTensor *input2, IC void CLBitwiseOr::configure(const CLCompileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { - auto k = std::make_unique<CLBitwiseOrKernel>(); - k->configure(compile_context, input1, input2, output); + auto k = std::make_unique<CLBitwiseKernel>(); + k->configure(compile_context, input1, input2, output, BitwiseOperation::OR); _kernel = std::move(k); } +} // namespace arm_compute
\ No newline at end of file |