aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLFlattenLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/functions/CLFlattenLayer.cpp')
-rw-r--r--src/runtime/CL/functions/CLFlattenLayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLFlattenLayer.cpp b/src/runtime/CL/functions/CLFlattenLayer.cpp
index 9f571b2036..f5809a218a 100644
--- a/src/runtime/CL/functions/CLFlattenLayer.cpp
+++ b/src/runtime/CL/functions/CLFlattenLayer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -25,6 +25,7 @@
#include "arm_compute/core/CL/kernels/CLIm2ColKernel.h"
#include "arm_compute/core/Size2D.h"
+#include "arm_compute/runtime/CL/CLScheduler.h"
#include "support/ToolchainSupport.h"
using namespace arm_compute;
@@ -34,4 +35,5 @@ void CLFlattenLayer::configure(const ICLTensor *input, ICLTensor *output)
auto k = arm_compute::support::cpp14::make_unique<CLIm2ColKernel>();
k->configure(input, output, Size2D(1, 1), PadStrideInfo(1, 1, 0, 0), false);
_kernel = std::move(k);
+ CLScheduler::get().tune_kernel_static(*_kernel);
}