diff options
-rw-r--r-- | src/core/CL/cl_kernels/direct_convolution_1x1_3x3_5x5_quantized.cl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/CL/cl_kernels/direct_convolution_1x1_3x3_5x5_quantized.cl b/src/core/CL/cl_kernels/direct_convolution_1x1_3x3_5x5_quantized.cl index 533bc75bcb..b58dc7af72 100644 --- a/src/core/CL/cl_kernels/direct_convolution_1x1_3x3_5x5_quantized.cl +++ b/src/core/CL/cl_kernels/direct_convolution_1x1_3x3_5x5_quantized.cl @@ -302,8 +302,7 @@ __kernel void output_stage_quantized( vals = ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE(vals, output_multiplier, output_shift, 16); vals = vals + output_offset; - vals = clamp(vals, 0, 255); // Store result in dst - vstore16(convert_uchar16(vals), 0, (__global uchar *)dst.ptr); + vstore16(convert_uchar16_sat(vals), 0, (__global uchar *)dst.ptr); } |