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.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLRange.cpp b/src/runtime/CL/functions/CLRange.cpp
index 5dedcc081c..b29b03d5b5 100644
--- a/src/runtime/CL/functions/CLRange.cpp
+++ b/src/runtime/CL/functions/CLRange.cpp
@@ -34,9 +34,14 @@ using namespace arm_compute;
void CLRange::configure(ICLTensor *output, const float start, const float end, const float step)
{
+ 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)
+{
auto k = arm_compute::support::cpp14::make_unique<CLRangeKernel>();
k->set_target(CLScheduler::get().target());
- k->configure(output, start, end, step);
+ k->configure(compile_context, output, start, end, step);
_kernel = std::move(k);
// Tune kernels