aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLYOLOLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/functions/CLYOLOLayer.cpp')
-rw-r--r--src/runtime/CL/functions/CLYOLOLayer.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLYOLOLayer.cpp b/src/runtime/CL/functions/CLYOLOLayer.cpp
index b2b84d9dc1..0c0c1065bc 100644
--- a/src/runtime/CL/functions/CLYOLOLayer.cpp
+++ b/src/runtime/CL/functions/CLYOLOLayer.cpp
@@ -31,8 +31,13 @@ using namespace arm_compute;
void CLYOLOLayer::configure(ICLTensor *input, ICLTensor *output, const ActivationLayerInfo &act_info, int32_t num_classes)
{
+ configure(CLKernelLibrary::get().get_compile_context(), input, output, act_info, num_classes);
+}
+
+void CLYOLOLayer::configure(const CLCompileContext &compile_context, ICLTensor *input, ICLTensor *output, const ActivationLayerInfo &act_info, int32_t num_classes)
+{
auto k = arm_compute::support::cpp14::make_unique<CLYOLOLayerKernel>();
- k->configure(input, output, act_info, num_classes);
+ k->configure(compile_context, input, output, act_info, num_classes);
_kernel = std::move(k);
}