Deprecated UNDEFINED values for execution / performance hints (#16563)
* Deprecated UNDEFINED values for execution / performance hints * Update src/tests/functional/plugin/gpu/shared_tests_instances/behavior/ov_plugin/properties_tests.cpp * Fixes * Fixes
This commit is contained in:
@@ -26,10 +26,12 @@ class PerformanceModeValidator : public BaseValidator {
|
||||
public:
|
||||
bool is_valid(const ov::Any& v) const override {
|
||||
auto mode = v.as<ov::hint::PerformanceMode>();
|
||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
||||
return mode == ov::hint::PerformanceMode::CUMULATIVE_THROUGHPUT ||
|
||||
mode == ov::hint::PerformanceMode::THROUGHPUT ||
|
||||
mode == ov::hint::PerformanceMode::LATENCY ||
|
||||
mode == ov::hint::PerformanceMode::UNDEFINED;
|
||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user