diff options
author | Pablo Marquez Tello <pablo.tello@arm.com> | 2021-05-27 15:07:29 +0100 |
---|---|---|
committer | Pablo Marquez Tello <pablo.tello@arm.com> | 2021-06-02 09:05:39 +0000 |
commit | 760b494acdd6c0184e15b86e40256b27d6312b7a (patch) | |
tree | a3c557dbe8153fc1cd0a6158747a105991a203eb /src/core/cpu/kernels/CpuSoftmaxKernel.cpp | |
parent | 9fc3be6250964a2da74cb7a05cf8e352a896ac80 (diff) | |
download | ComputeLibrary-760b494acdd6c0184e15b86e40256b27d6312b7a.tar.gz |
Fixed the compiler warning -Werror=type-limits
* Comparison is always false due to limited range of data type.
* rescale_value is truncated to int32_t and then is compared agains (1ll <<31) which will be always false
* Resolves MLCE-508
Change-Id: I8dfd04b16beb5c2c3994eb817ed7a992fb63ed31
Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5741
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Manuel Bottini <manuel.bottini@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/cpu/kernels/CpuSoftmaxKernel.cpp')
0 files changed, 0 insertions, 0 deletions