From 21efeb4491feab09dc246f4da0023d7ca79b1d32 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 4 Jul 2017 12:47:17 +0100 Subject: COMPMID-417: DepthConvert NEON for QS8/QS16. Change-Id: Ieb120bccf146045b3a0001ceb3893d4e67fd19df Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79763 Tested-by: Kaizen Reviewed-by: Steven Niu --- src/runtime/NEON/functions/NEDepthConvert.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/runtime/NEON/functions') diff --git a/src/runtime/NEON/functions/NEDepthConvert.cpp b/src/runtime/NEON/functions/NEDepthConvert.cpp index 011e366bf3..24b51493c6 100644 --- a/src/runtime/NEON/functions/NEDepthConvert.cpp +++ b/src/runtime/NEON/functions/NEDepthConvert.cpp @@ -23,9 +23,7 @@ */ #include "arm_compute/runtime/NEON/functions/NEDepthConvert.h" -#include "arm_compute/core/Error.h" #include "arm_compute/core/NEON/kernels/NEDepthConvertKernel.h" -#include "arm_compute/core/Validate.h" #include "support/ToolchainSupport.h" #include @@ -34,11 +32,6 @@ using namespace arm_compute; void NEDepthConvert::configure(const ITensor *input, ITensor *output, ConvertPolicy policy, uint32_t shift) { - ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, 1, DataType::U8, DataType::QS8, DataType::U16, DataType::S16, DataType::U32, DataType::S32, DataType::F32); - ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(output, 1, DataType::U8, DataType::QS8, DataType::U16, DataType::S16, DataType::U32, DataType::S32, DataType::F32); - ARM_COMPUTE_ERROR_ON(input == output); - ARM_COMPUTE_ERROR_ON(input->info()->data_type() == output->info()->data_type()); - auto k = arm_compute::support::cpp14::make_unique(); k->configure(input, output, policy, shift); _kernel = std::move(k); -- cgit v1.2.1