aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLScaleKernel.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-08-20 16:06:58 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit6c95c2dd574ebc3217c949a17016eb071935bc3b (patch)
treea74f4573cd88fbf3dc1716341ec7d36f5b16e466 /src/core/CL/kernels/CLScaleKernel.cpp
parent104902098adf94c45ba89af02b92b9337ebd6d5f (diff)
downloadComputeLibrary-6c95c2dd574ebc3217c949a17016eb071935bc3b.tar.gz
COMPMID-1188: Static tuning of CLScale
Change-Id: Icf1cc00d9861fdb8766d0b8fd33ca90833863927 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/144830 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLScaleKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLScaleKernel.cpp15
1 files changed, 13 insertions, 2 deletions
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));