From 6c95c2dd574ebc3217c949a17016eb071935bc3b Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 20 Aug 2018 16:06:58 +0100 Subject: COMPMID-1188: Static tuning of CLScale Change-Id: Icf1cc00d9861fdb8766d0b8fd33ca90833863927 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/144830 Reviewed-by: Anthony Barbier Tested-by: Jenkins --- src/core/CL/kernels/CLScaleKernel.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/core/CL/kernels') diff --git a/src/core/CL/kernels/CLScaleKernel.cpp b/src/core/CL/kernels/CLScaleKernel.cpp index b2cd4b7adf..d56d6f7da8 100644 --- a/src/core/CL/kernels/CLScaleKernel.cpp +++ b/src/core/CL/kernels/CLScaleKernel.cpp @@ -148,10 +148,21 @@ Status CLScaleKernel::validate(const ITensorInfo *input, const ITensorInfo *outp return Status{}; } +const ICLTensor *CLScaleKernel::input() const +{ + return _input; +} + +const ICLTensor *CLScaleKernel::output() const +{ + return _output; +} + void CLScaleKernel::configure(const ICLTensor *input, ICLTensor *output, InterpolationPolicy policy, BorderMode border_mode, SamplingPolicy sampling_policy) { - _input = input; - _output = output; + _input = input; + _output = output; + _interpolationPolicy = policy; ARM_COMPUTE_ERROR_THROW_ON(validate_arguments(input->info(), output->info(), policy)); -- cgit v1.2.1