From 7485d5a62685cb745ab50e970adb722cb71557ac Mon Sep 17 00:00:00 2001 From: Vidhya Sudhan Loganathan Date: Wed, 4 Jul 2018 09:34:00 +0100 Subject: COMPMID-970 : Remove QS8 / QS16 support Removed fixed point related code. Change-Id: I487acf138dace3b0450e0d72ca7071eaec254566 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/137678 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- src/core/CL/cl_kernels/direct_convolution3x3.cl | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'src/core/CL/cl_kernels/direct_convolution3x3.cl') diff --git a/src/core/CL/cl_kernels/direct_convolution3x3.cl b/src/core/CL/cl_kernels/direct_convolution3x3.cl index a7abc9ff1d..824306f2ba 100644 --- a/src/core/CL/cl_kernels/direct_convolution3x3.cl +++ b/src/core/CL/cl_kernels/direct_convolution3x3.cl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -23,25 +23,12 @@ */ #include "helpers.h" -#if defined(FIXED_POINT_POSITION) -#include "fixed_point.h" - -#define ADD_OP(a, b) ADD_SAT_OP_EXPAND((a), (b), DATA_TYPE_PROMOTED, 8) -#define MUL_OP(a, b) MUL_SAT_OP_EXPAND(CONVERT((a), VEC_DATA_TYPE(DATA_TYPE_PROMOTED, 8)), CONVERT((b), VEC_DATA_TYPE(DATA_TYPE_PROMOTED, 8)), DATA_TYPE_PROMOTED, 8, FIXED_POINT_POSITION) - -// There is no need to have a larger intermediate type for qs32 because all the arguments are already promoted -MULQ_SAT_IMPL(qs32x8, qs32x8) - -#else /* FIXED_POINT_POSITION */ - #undef CONVERT_SAT #define ADD_OP(a, b) ((a) + (b)) #define MUL_OP(a, b) ((a) * (b)) #define CONVERT_SAT(a, b) ((a)) -#endif /* FIXED_POINT_POSITION */ - #if defined(DATA_TYPE) && defined(STRIDE_X) && defined(WEIGHTS_DEPTH) #if STRIDE_X == 1 @@ -86,7 +73,7 @@ MULQ_SAT_IMPL(qs32x8, qs32x8) * @note The third dimensions of the weights tensors must be passed at compile time using -DWEIGHTS_DEPTH * @note If biases are used then -DHAS_BIAS has to be passed at compile time * - * @param[in] src_ptr Pointer to the source tensor. Supported data types: QS8/QS16/F16/F32 + * @param[in] src_ptr Pointer to the source tensor. Supported data types: F16/F32 * @param[in] src_stride_x Stride of the source tensor in X dimension (in bytes) * @param[in] src_step_x src_stride_x * number of elements along X processed per workitem(in bytes) * @param[in] src_stride_y Stride of the source tensor in Y dimension (in bytes) -- cgit v1.2.1