diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-08-20 16:06:58 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 6c95c2dd574ebc3217c949a17016eb071935bc3b (patch) | |
tree | a74f4573cd88fbf3dc1716341ec7d36f5b16e466 /arm_compute/core/CL | |
parent | 104902098adf94c45ba89af02b92b9337ebd6d5f (diff) | |
download | ComputeLibrary-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 'arm_compute/core/CL')
-rw-r--r-- | arm_compute/core/CL/kernels/CLScaleKernel.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arm_compute/core/CL/kernels/CLScaleKernel.h b/arm_compute/core/CL/kernels/CLScaleKernel.h index b089e8f61a..db87519c0f 100644 --- a/arm_compute/core/CL/kernels/CLScaleKernel.h +++ b/arm_compute/core/CL/kernels/CLScaleKernel.h @@ -58,10 +58,23 @@ public: * @return a status */ static Status validate(const ITensorInfo *input, const ITensorInfo *output, InterpolationPolicy policy, BorderMode border_mode, SamplingPolicy sampling_policy = SamplingPolicy::CENTER); + /** Input tensor accessor. + * + * @return Pointer to input tensor. + */ + const ICLTensor *input() const; + /** Output tensor accessor. + * + * @return Pointer to output tensor. + */ + const ICLTensor *output() const; // Inherited methods overridden: BorderSize border_size() const override; void run(const Window &window, cl::CommandQueue &queue) override; + +public: + InterpolationPolicy _interpolationPolicy = InterpolationPolicy::BILINEAR; }; } // namespace arm_compute #endif /*__ARM_COMPUTE_CLSCALEKERNEL_H__ */ |