update cpu properties name to enable_hyper_threading and enable_hyper_threading (#16723)
This commit is contained in:
1 parent
8691ec2779
commit
9f54504232
13 files changed
+71
-71
No files matched your search
@@ -72,9 +72,9 @@ void regmodule_properties(py::module m) {
|
||||
wrap_property_RW(m_hint, ov::hint::inference_precision, "inference_precision");
|
||||
wrap_property_RW(m_hint, ov::hint::model_priority, "model_priority");
|
||||
wrap_property_RW(m_hint, ov::hint::performance_mode, "performance_mode");
|
||||
wrap_property_RW(m_hint, ov::hint::use_cpu_pinning, "use_cpu_pinning");
|
||||
wrap_property_RW(m_hint, ov::hint::enable_cpu_pinning, "enable_cpu_pinning");
|
||||
wrap_property_RW(m_hint, ov::hint::scheduling_core_type, "scheduling_core_type");
|
||||
wrap_property_RW(m_hint, ov::hint::use_hyper_threading, "use_hyper_threading");
|
||||
wrap_property_RW(m_hint, ov::hint::enable_hyper_threading, "enable_hyper_threading");
|
||||
wrap_property_RW(m_hint, ov::hint::execution_mode, "execution_mode");
|
||||
wrap_property_RW(m_hint, ov::hint::num_requests, "num_requests");
|
||||
wrap_property_RW(m_hint, ov::hint::model, "model");
|
||||
|
||||
@@ -226,8 +226,8 @@ def test_properties_ro(ov_property_ro, expected_value):
|
||||
((properties.hint.PerformanceMode.UNDEFINED, properties.hint.PerformanceMode.UNDEFINED),),
|
||||
),
|
||||
(
|
||||
properties.hint.use_cpu_pinning,
|
||||
"USE_CPU_PINNING",
|
||||
properties.hint.enable_cpu_pinning,
|
||||
"ENABLE_CPU_PINNING",
|
||||
(
|
||||
(True, True),
|
||||
(False, False),
|
||||
@@ -241,8 +241,8 @@ def test_properties_ro(ov_property_ro, expected_value):
|
||||
((properties.hint.SchedulingCoreType.PCORE_ONLY, properties.hint.SchedulingCoreType.PCORE_ONLY),),
|
||||
),
|
||||
(
|
||||
properties.hint.use_hyper_threading,
|
||||
"USE_HYPER_THREADING",
|
||||
properties.hint.enable_hyper_threading,
|
||||
"ENABLE_HYPER_THREADING",
|
||||
(
|
||||
(True, True),
|
||||
(False, False),
|
||||
@@ -460,9 +460,9 @@ def test_single_property_setting(device):
|
||||
properties.affinity(properties.Affinity.NONE),
|
||||
properties.hint.inference_precision(Type.f32),
|
||||
properties.hint.performance_mode(properties.hint.PerformanceMode.LATENCY),
|
||||
properties.hint.use_cpu_pinning(True),
|
||||
properties.hint.enable_cpu_pinning(True),
|
||||
properties.hint.scheduling_core_type(properties.hint.SchedulingCoreType.PCORE_ONLY),
|
||||
properties.hint.use_hyper_threading(True),
|
||||
properties.hint.enable_hyper_threading(True),
|
||||
properties.hint.num_requests(12),
|
||||
properties.streams.num(5),
|
||||
],
|
||||
@@ -475,9 +475,9 @@ def test_single_property_setting(device):
|
||||
properties.affinity(): properties.Affinity.NONE,
|
||||
properties.hint.inference_precision(): Type.f32,
|
||||
properties.hint.performance_mode(): properties.hint.PerformanceMode.LATENCY,
|
||||
properties.hint.use_cpu_pinning(): True,
|
||||
properties.hint.enable_cpu_pinning(): True,
|
||||
properties.hint.scheduling_core_type(): properties.hint.SchedulingCoreType.PCORE_ONLY,
|
||||
properties.hint.use_hyper_threading(): True,
|
||||
properties.hint.enable_hyper_threading(): True,
|
||||
properties.hint.num_requests(): 12,
|
||||
properties.streams.num(): 5,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user