diff options
Diffstat (limited to 'src/runtime/CL/functions/CLBitwiseXor.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLBitwiseXor.cpp | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/runtime/CL/functions/CLBitwiseXor.cpp b/src/runtime/CL/functions/CLBitwiseXor.cpp index 0e0e7f2028..5bee4b37ec 100644 --- a/src/runtime/CL/functions/CLBitwiseXor.cpp +++ b/src/runtime/CL/functions/CLBitwiseXor.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/CLBitwiseXor.h" -#include "arm_compute/core/CL/kernels/CLBitwiseXorKernel.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 CLBitwiseXor::configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); } -void CLBitwiseXor::configure(const CLCompileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) +void CLBitwiseXor::configure(const CLCompileContext &compile_context, + const ICLTensor *input1, + const ICLTensor *input2, + ICLTensor *output) { - auto k = arm_compute::support::cpp14::make_unique<CLBitwiseXorKernel>(); - 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::XOR); _kernel = std::move(k); } +} // namespace arm_compute |