aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLBitwiseNot.cpp
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2020-12-02 13:22:14 +0000
committerManuel Bottini <manuel.bottini@arm.com>2020-12-10 12:46:00 +0000
commit63bb7ca40e30b2db48d7bdd1adbc8223b53ac23c (patch)
treed831c217690d6d155c5ef426e42ee361d570ec59 /src/runtime/CL/functions/CLBitwiseNot.cpp
parent0b1c2db5c29ed80b7f4dd0c4fd6d4ed91b3d1538 (diff)
downloadComputeLibrary-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/CLBitwiseNot.cpp')
-rw-r--r--src/runtime/CL/functions/CLBitwiseNot.cpp11
1 files changed, 6 insertions, 5 deletions
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 <utility>
-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<CLBitwiseNotKernel>();
- k->configure(compile_context, input, output);
+ auto k = std::make_unique<CLBitwiseKernel>();
+ k->configure(compile_context, input, nullptr, output, BitwiseOperation::NOT);
_kernel = std::move(k);
}
+} // namespace arm_compute \ No newline at end of file