diff options
Diffstat (limited to 'src/runtime/CL/functions/CLBitwiseNot.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLBitwiseNot.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/runtime/CL/functions/CLBitwiseNot.cpp b/src/runtime/CL/functions/CLBitwiseNot.cpp index 588c793f6a..9763915c02 100644 --- a/src/runtime/CL/functions/CLBitwiseNot.cpp +++ b/src/runtime/CL/functions/CLBitwiseNot.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2020 Arm Limited. + * Copyright (c) 2016-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -23,13 +23,13 @@ */ #include "arm_compute/runtime/CL/functions/CLBitwiseNot.h" -#include "src/core/CL/kernels/CLBitwiseNotKernel.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 CLBitwiseNot::configure(const ICLTensor *input, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input, output); @@ -37,7 +37,9 @@ void CLBitwiseNot::configure(const ICLTensor *input, ICLTensor *output) void CLBitwiseNot::configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output) { - auto k = arm_compute::support::cpp14::make_unique<CLBitwiseNotKernel>(); - k->configure(compile_context, input, output); + ARM_COMPUTE_LOG_PARAMS(input, output); + auto k = std::make_unique<CLBitwiseKernel>(); + k->configure(compile_context, input, nullptr, output, BitwiseOperation::NOT); _kernel = std::move(k); } +} // namespace arm_compute |