From e7be8a072967f9ae547468a7625e11477ea32221 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Thu, 12 Dec 2019 16:16:09 +0000 Subject: COMPMID-2980 (Nightly) armv7a build failures Change-Id: I8c2a20fc345694d1ad6e0fe63e4f22fb73e6c1df Signed-off-by: Michalis Spyrou Signed-off-by: Michele Di Giorgio Reviewed-on: https://review.mlplatform.org/c/2463 Tested-by: Arm Jenkins --- src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp') diff --git a/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp b/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp index a0d45afd2a..a9a3183c5d 100644 --- a/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp +++ b/src/core/NEON/kernels/NEDepthwiseConvolutionLayerNativeKernel.cpp @@ -528,8 +528,8 @@ void NEDepthwiseConvolutionLayerNativeKernel::configure(const ITensor *input, co for(size_t i = 0; i < weights_scale.size(); ++i) { - int out_mult = 0; - int out_shift = 0; + int32_t out_mult = 0; + int32_t out_shift = 0; const float multiplier = input_scale * weights_scale.at(i) / output_scale; ARM_COMPUTE_ERROR_ON(multiplier > 1.f); arm_compute::quantization::calculate_quantized_multiplier_less_than_one(multiplier, &out_mult, &out_shift); -- cgit v1.2.1