diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-04-13 09:53:04 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-04-13 15:45:29 +0000 |
commit | f4edddb8968c6e424333a066cf6fbbf9c1426f13 (patch) | |
tree | f3eb16a64cfac850e094c3d810f13055a61ef0bb /src/core/CL/cl_kernels/direct_convolution.cl | |
parent | 3dca91b84002f22f69ad5b9ddda0ce3579c4135b (diff) | |
download | ComputeLibrary-f4edddb8968c6e424333a066cf6fbbf9c1426f13.tar.gz |
Check data type lower bound when creating a tensor
As underlying enum type can be an int we check also the lower bound of
the data type when creating a tensor to avoid creation with negative
values.
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I00fa3cae988c5f20a56115b1c1b85b70e699c966
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5413
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/direct_convolution.cl')
0 files changed, 0 insertions, 0 deletions