diff options
Diffstat (limited to 'src/runtime/CL/functions/CLFlattenLayer.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLFlattenLayer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLFlattenLayer.cpp b/src/runtime/CL/functions/CLFlattenLayer.cpp index 8f93e03c5e..9a247ccfcb 100644 --- a/src/runtime/CL/functions/CLFlattenLayer.cpp +++ b/src/runtime/CL/functions/CLFlattenLayer.cpp @@ -31,8 +31,13 @@ using namespace arm_compute; void CLFlattenLayer::configure(const ICLTensor *input, ICLTensor *output) { + configure(CLKernelLibrary::get().get_compile_context(), input, output); +} + +void CLFlattenLayer::configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output) +{ auto k = arm_compute::support::cpp14::make_unique<CLFlattenLayerKernel>(); - k->configure(input, output); + k->configure(compile_context, input, output); _kernel = std::move(k); CLScheduler::get().tune_kernel_static(*_kernel); } |