aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLRange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/functions/CLRange.cpp')
-rw-r--r--src/runtime/CL/functions/CLRange.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/runtime/CL/functions/CLRange.cpp b/src/runtime/CL/functions/CLRange.cpp
index 57b57bd305..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
*
@@ -27,8 +27,9 @@
#include "arm_compute/core/Error.h"
#include "arm_compute/core/Validate.h"
#include "arm_compute/runtime/CL/CLScheduler.h"
+
+#include "src/common/utils/Log.h"
#include "src/core/CL/kernels/CLRangeKernel.h"
-#include "support/MemorySupport.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);