diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-10-12 11:05:18 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 43fc5cd712eed23b9cec340f526e6d5fb5050afa (patch) | |
tree | f7570a93ab265d1bb6ed24a0407bab3834ee14f5 /src/core/CL/ICLTensor.cpp | |
parent | 3c5b4ff4a803fcdb0eeca1c0e24f65a3bd0563b7 (diff) | |
download | ComputeLibrary-43fc5cd712eed23b9cec340f526e6d5fb5050afa.tar.gz |
COMPMID-618: Fix mismatches in CLDepthConvert Oclgrind
Out-of-bounds float to integer conversion is implementation defined.
Oclgrind converts to S32 and truncated while GPU converts S32 and
clamps. We force to always SATURATE for float to int conversion.
Change-Id: I82be9e8cdcc49b32adb8c0da064542b63f891666
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/91512
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'src/core/CL/ICLTensor.cpp')
0 files changed, 0 insertions, 0 deletions