diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-03-23 15:13:15 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | c0d1c86b1bb1b4e129c292549845e00dfd8abfee (patch) | |
tree | dfb24aa860615f45a430a5c921df7a1a20eb52d8 /src/runtime/CL/functions | |
parent | 7fad9b1d00f3ee1488ba4038d1371f6ea219f8b7 (diff) | |
download | ComputeLibrary-c0d1c86b1bb1b4e129c292549845e00dfd8abfee.tar.gz |
COMPMID-734: CLTuner rework
Change-Id: I8f20d6ea8a09869d71003e7b08e0d33775282f6c
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125802
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/runtime/CL/functions')
-rw-r--r-- | src/runtime/CL/functions/CLDirectConvolutionLayer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLDirectConvolutionLayer.cpp b/src/runtime/CL/functions/CLDirectConvolutionLayer.cpp index d6a335c1ec..c48865a0cc 100644 --- a/src/runtime/CL/functions/CLDirectConvolutionLayer.cpp +++ b/src/runtime/CL/functions/CLDirectConvolutionLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -52,6 +52,9 @@ void CLDirectConvolutionLayer::configure(ICLTensor *input, const ICLTensor *weig zero_value = PixelValue(static_cast<uint8_t>(input->info()->quantization_info().offset)); } _input_border_handler.configure(input, _direct_conv_kernel.border_size(), BorderMode::CONSTANT, zero_value); + + // Tune kernels + CLScheduler::get().tune_kernel_static(_direct_conv_kernel); } Status CLDirectConvolutionLayer::validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, const PadStrideInfo &conv_info) |