From 4406fd6cc4abded564d3791324e1f48bdfd34273 Mon Sep 17 00:00:00 2001 From: Frank Lei Date: Thu, 1 Feb 2018 14:47:14 +0800 Subject: APPBROWSER-391: Fix GLES COMPUTE alignment issues APPBROWSER-402: Performance optimization for squeezenet/xray model Change-Id: If31b186b99a6d6087164019fe94d3ac9279e3204 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/119526 Tested-by: Jenkins Reviewed-by: Georgios Pinitas --- arm_compute/core/GLES_COMPUTE/kernels/GCScaleKernel.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'arm_compute/core/GLES_COMPUTE/kernels/GCScaleKernel.h') diff --git a/arm_compute/core/GLES_COMPUTE/kernels/GCScaleKernel.h b/arm_compute/core/GLES_COMPUTE/kernels/GCScaleKernel.h index 3f936f6cb9..bdbc50c735 100644 --- a/arm_compute/core/GLES_COMPUTE/kernels/GCScaleKernel.h +++ b/arm_compute/core/GLES_COMPUTE/kernels/GCScaleKernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -24,7 +24,7 @@ #ifndef __ARM_COMPUTE_GCSCALEKERNEL_H__ #define __ARM_COMPUTE_GCSCALEKERNEL_H__ -#include "arm_compute/core/GLES_COMPUTE/IGCSimple2DKernel.h" +#include "arm_compute/core/GLES_COMPUTE/IGCSimple3DKernel.h" #include "arm_compute/core/Types.h" namespace arm_compute @@ -32,7 +32,7 @@ namespace arm_compute class IGCTensor; /** Interface for the scale kernel */ -class GCScaleKernel : public IGCSimple2DKernel +class GCScaleKernel : public IGCSimple3DKernel { public: /** Initialise the kernel's inputs, output and interpolation policy @@ -47,6 +47,7 @@ public: void configure(const IGCTensor *input, IGCTensor *output, InterpolationPolicy policy, bool border_undefined, SamplingPolicy sampling_policy = SamplingPolicy::CENTER); // Inherited methods overridden: + void run(const Window &window) override; BorderSize border_size() const override; }; } // namespace arm_compute -- cgit v1.2.1