diff options
Diffstat (limited to 'src/runtime/CL/functions/CLGather.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLGather.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/runtime/CL/functions/CLGather.cpp b/src/runtime/CL/functions/CLGather.cpp index de6296f6a3..2610cb1a3b 100644 --- a/src/runtime/CL/functions/CLGather.cpp +++ b/src/runtime/CL/functions/CLGather.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 Arm Limited. + * Copyright (c) 2018-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -24,8 +24,9 @@ #include "arm_compute/runtime/CL/functions/CLGather.h" #include "arm_compute/core/CL/ICLTensor.h" + +#include "src/common/utils/Log.h" #include "src/core/CL/kernels/CLGatherKernel.h" -#include "support/MemorySupport.h" namespace arm_compute { @@ -34,9 +35,14 @@ void CLGather::configure(const ICLTensor *input, const ICLTensor *indices, ICLTe configure(CLKernelLibrary::get().get_compile_context(), input, indices, output, axis); } -void CLGather::configure(const CLCompileContext &compile_context, const ICLTensor *input, const ICLTensor *indices, ICLTensor *output, int axis) +void CLGather::configure(const CLCompileContext &compile_context, + const ICLTensor *input, + const ICLTensor *indices, + ICLTensor *output, + int axis) { - auto k = arm_compute::support::cpp14::make_unique<CLGatherKernel>(); + ARM_COMPUTE_LOG_PARAMS(input, indices, output, axis); + auto k = std::make_unique<CLGatherKernel>(); k->configure(compile_context, input, indices, output, axis); _kernel = std::move(k); } |