From 63bb7ca40e30b2db48d7bdd1adbc8223b53ac23c Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Wed, 2 Dec 2020 13:22:14 +0000 Subject: 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 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4646 Reviewed-by: Giorgio Arena Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins --- src/runtime/CL/functions/CLBitwiseNot.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/runtime/CL/functions/CLBitwiseNot.cpp') diff --git a/src/runtime/CL/functions/CLBitwiseNot.cpp b/src/runtime/CL/functions/CLBitwiseNot.cpp index cd2384590e..7970a1698b 100644 --- a/src/runtime/CL/functions/CLBitwiseNot.cpp +++ b/src/runtime/CL/functions/CLBitwiseNot.cpp @@ -23,12 +23,12 @@ */ #include "arm_compute/runtime/CL/functions/CLBitwiseNot.h" -#include "src/core/CL/kernels/CLBitwiseNotKernel.h" +#include "src/core/CL/kernels/CLBitwiseKernel.h" #include -using namespace arm_compute; - +namespace arm_compute +{ void CLBitwiseNot::configure(const ICLTensor *input, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input, output); @@ -36,7 +36,8 @@ void CLBitwiseNot::configure(const ICLTensor *input, ICLTensor *output) void CLBitwiseNot::configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output) { - auto k = std::make_unique(); - k->configure(compile_context, input, output); + auto k = std::make_unique(); + k->configure(compile_context, input, nullptr, output, BitwiseOperation::NOT); _kernel = std::move(k); } +} // namespace arm_compute \ No newline at end of file -- cgit v1.2.1