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:
@@ -31,4 +31,4 @@ public:
|
||||
};
|
||||
} // namespace backend
|
||||
} // namespace intel_gna
|
||||
} // namespace ov
|
||||
} // namespace ov
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user