include limits for numerical_limits decl (#13310)

There is build error on RHEL 9
openvino/src/plugins/intel_gna/backend/pwl_border_values_counter_identity.cpp:70:51: error: ‘numeric_limits’ is not a member of ‘std’
   70 |     const int16_t y_min = is_low_precision ? std::numeric_limits<int8_t>::min() : std::numeric_limits<int16_t>::min();

numerical_limits is declared in limits, so include it.

Signed-off-by: Tom Rix <trix@redhat.com>

Signed-off-by: Tom Rix <trix@redhat.com>
This commit is contained in:
trixirt
2022-10-04 02:04:35 -07:00
committed by GitHub
parent c1d5b5f266
commit f4c14763ab
2 changed files with 3 additions and 2 deletions

View File

@@ -31,4 +31,4 @@ public:
};
} // namespace backend
} // namespace intel_gna
} // namespace ov
} // namespace ov

View File

@@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
//
#include <limits>
#include "pwl_border_values_counter_identity.hpp"
#include "gna_plugin_log.hpp"
@@ -81,4 +82,4 @@ bool BorderValuesCounterIdentity::AreValuesValid(const BorderValues& values) {
}
} // namespace backend
} // namespace intel_gna
} // namespace ov
} // namespace ov