aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/kernels/CLScaleKernel.h
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 /arm_compute/core/CL/kernels/CLScaleKernel.h
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 'arm_compute/core/CL/kernels/CLScaleKernel.h')
-rw-r--r--arm_compute/core/CL/kernels/CLScaleKernel.h13
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__ */