diff options
Diffstat (limited to 'src/runtime/CL/functions/CLRange.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLRange.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/runtime/CL/functions/CLRange.cpp b/src/runtime/CL/functions/CLRange.cpp index b29b03d5b5..5c3f7f9c8c 100644 --- a/src/runtime/CL/functions/CLRange.cpp +++ b/src/runtime/CL/functions/CLRange.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 ARM Limited. + * Copyright (c) 2018-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -24,11 +24,12 @@ #include "arm_compute/runtime/CL/functions/CLRange.h" #include "arm_compute/core/CL/ICLTensor.h" -#include "arm_compute/core/CL/kernels/CLRangeKernel.h" #include "arm_compute/core/Error.h" #include "arm_compute/core/Validate.h" #include "arm_compute/runtime/CL/CLScheduler.h" -#include "support/MemorySupport.h" + +#include "src/common/utils/Log.h" +#include "src/core/CL/kernels/CLRangeKernel.h" using namespace arm_compute; @@ -37,9 +38,11 @@ void CLRange::configure(ICLTensor *output, const float start, const float end, c configure(CLKernelLibrary::get().get_compile_context(), output, start, end, step); } -void CLRange::configure(const CLCompileContext &compile_context, ICLTensor *output, const float start, const float end, const float step) +void CLRange::configure( + const CLCompileContext &compile_context, ICLTensor *output, const float start, const float end, const float step) { - auto k = arm_compute::support::cpp14::make_unique<CLRangeKernel>(); + ARM_COMPUTE_LOG_PARAMS(output, start, end, step); + auto k = std::make_unique<CLRangeKernel>(); k->set_target(CLScheduler::get().target()); k->configure(compile_context, output, start, end, step); _kernel = std::move(k); |