From d7ba5397b676c966cb5069c7187a12a0c35305f5 Mon Sep 17 00:00:00 2001 From: Sanghoon Lee Date: Wed, 13 Dec 2017 11:28:50 +0000 Subject: COMPMID-727 - Implement reference and CL/NEON validation for CustomConvolutionRectangle Change-Id: I108a48ad5e6dc3f331fd5ceb38ced8ccdb31d81a Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/113130 Tested-by: Jenkins Reviewed-by: Georgios Pinitas Reviewed-by: Anthony Barbier --- src/core/NEON/kernels/NEConvolutionKernel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/NEON/kernels/NEConvolutionKernel.cpp b/src/core/NEON/kernels/NEConvolutionKernel.cpp index 3a4884eb21..7468f58ca5 100644 --- a/src/core/NEON/kernels/NEConvolutionKernel.cpp +++ b/src/core/NEON/kernels/NEConvolutionKernel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016, 2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -1522,13 +1522,13 @@ void NEConvolutionRectangleKernel::run(const Window &window, const ThreadInfo &i }; // Run appropriate function - switch(_output->info()->format()) + switch(_output->info()->data_type()) { - case Format::U8: + case DataType::U8: ARM_COMPUTE_ERROR_ON(_func_idx >= func_table_u8.size()); (this->*func_table_u8[_func_idx])(window); break; - case Format::S16: + case DataType::S16: ARM_COMPUTE_ERROR_ON(_func_idx >= func_table_s16.size()); (this->*func_table_s16[_func_idx])(window); break; -- cgit v1.2.1