diff options
author | Vidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com> | 2018-07-04 15:13:14 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:10 +0000 |
commit | f4cb81be294a1075ce3ce7d11dd60bdee5505ce9 (patch) | |
tree | 33e903042fab84a7f469855078131bd3fd01df4e /src/core/CL | |
parent | 060c4b784b1e66f937369e420fa97c7fb71d5fd4 (diff) | |
download | ComputeLibrary-f4cb81be294a1075ce3ce7d11dd60bdee5505ce9.tar.gz |
COMPMID-970 : Remove QS8 / QS16 support
Removed QS32 references
Change-Id: Ic7df02c08ae7aa1b7dcae15bdda113321af851b8
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/138703
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/CL')
-rw-r--r-- | src/core/CL/CLHelpers.cpp | 10 | ||||
-rw-r--r-- | src/core/CL/cl_kernels/convert_fc_weights.cl | 2 | ||||
-rw-r--r-- | src/core/CL/kernels/CLConvertFullyConnectedWeightsKernel.cpp | 2 |
3 files changed, 3 insertions, 11 deletions
diff --git a/src/core/CL/CLHelpers.cpp b/src/core/CL/CLHelpers.cpp index 07f8bd7bcd..55da5275df 100644 --- a/src/core/CL/CLHelpers.cpp +++ b/src/core/CL/CLHelpers.cpp @@ -50,8 +50,6 @@ std::string get_cl_type_from_data_type(const DataType &dt) return "uint"; case DataType::S32: return "int"; - case DataType::QS32: - return "qs32"; case DataType::U64: return "ulong"; case DataType::S64: @@ -93,13 +91,7 @@ std::string get_data_size_from_data_type(const DataType &dt) std::string get_underlying_cl_type_from_data_type(const DataType &dt) { - switch(dt) - { - case DataType::QS32: - return "int"; - default: - return get_cl_type_from_data_type(dt); - } + return get_cl_type_from_data_type(dt); } GPUTarget get_target_from_device(cl::Device &device) diff --git a/src/core/CL/cl_kernels/convert_fc_weights.cl b/src/core/CL/cl_kernels/convert_fc_weights.cl index 5aadfb36f9..d47b733acd 100644 --- a/src/core/CL/cl_kernels/convert_fc_weights.cl +++ b/src/core/CL/cl_kernels/convert_fc_weights.cl @@ -32,7 +32,7 @@ * @attention Data type can be passed using the -DDATA_TYPE compile flag, e.g. -DDATA_TYPE=float * @attention Original input tensor width*height and depth should be given as a preprocessor argument using -DFACTOR_1=size and -DFACTOR_2=size for NCHW and vice versa for NHWC. e.g. -DFACTOR_1=256 and -DFACTOR_2=128 * - * @param[in] src_ptr Pointer to the source image. Supported data types: U8, S8, QASYMM8, U16, S16, U32, S32, QS32, F16, F32 + * @param[in] src_ptr Pointer to the source image. Supported data types: U8, S8, QASYMM8, U16, S16, U32, S32, F16, F32 * @param[in] src_stride_x Stride of the source image 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 image in Y dimension (in bytes) diff --git a/src/core/CL/kernels/CLConvertFullyConnectedWeightsKernel.cpp b/src/core/CL/kernels/CLConvertFullyConnectedWeightsKernel.cpp index a39d1f4a0b..86858d0c03 100644 --- a/src/core/CL/kernels/CLConvertFullyConnectedWeightsKernel.cpp +++ b/src/core/CL/kernels/CLConvertFullyConnectedWeightsKernel.cpp @@ -76,7 +76,7 @@ Status CLConvertFullyConnectedWeightsKernel::validate(const ITensorInfo *input, { ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED(input); ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(input, 1, DataType::U8, DataType::S8, DataType::QASYMM8, DataType::U16, DataType::S16, DataType::U32, DataType::S32, - DataType::QS32, DataType::F16, DataType::F32); + DataType::F16, DataType::F32); ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(input, output); ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_SHAPES(input, output); ARM_COMPUTE_RETURN_ERROR_ON(input->num_dimensions() != 2); |