diff options
Diffstat (limited to 'src/runtime/CL/functions/CLBitwiseAnd.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLBitwiseAnd.cpp | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/runtime/CL/functions/CLBitwiseAnd.cpp b/src/runtime/CL/functions/CLBitwiseAnd.cpp index 1fa80f0a24..7bfd0e3677 100644 --- a/src/runtime/CL/functions/CLBitwiseAnd.cpp +++ b/src/runtime/CL/functions/CLBitwiseAnd.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2020 ARM Limited. + * Copyright (c) 2016-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -23,21 +23,26 @@ */ #include "arm_compute/runtime/CL/functions/CLBitwiseAnd.h" -#include "arm_compute/core/CL/kernels/CLBitwiseAndKernel.h" -#include "support/MemorySupport.h" +#include "src/common/utils/Log.h" +#include "src/core/CL/kernels/CLBitwiseKernel.h" #include <utility> -using namespace arm_compute; - +namespace arm_compute +{ void CLBitwiseAnd::configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); } -void CLBitwiseAnd::configure(const CLCompileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) +void CLBitwiseAnd::configure(const CLCompileContext &compile_context, + const ICLTensor *input1, + const ICLTensor *input2, + ICLTensor *output) { - auto k = arm_compute::support::cpp14::make_unique<CLBitwiseAndKernel>(); - k->configure(compile_context, input1, input2, output); + ARM_COMPUTE_LOG_PARAMS(input1, input2, output); + auto k = std::make_unique<CLBitwiseKernel>(); + k->configure(compile_context, input1, input2, output, BitwiseOperation::AND); _kernel = std::move(k); } +} // namespace arm_compute |