@@ -104,7 +104,7 @@ std::shared_ptr<ov::Model> Core::read_model(const std::string& model, const ov::
104104
105105CompiledModel Core::compile_model (const std::shared_ptr<const ov::Model>& model, const AnyMap& config) {
106106 OV_ITT_SCOPED_REGION_BASE (ov::itt::domains::OV, " Compile model" );
107- return compile_model (model, ov::DEFAULT_DEVICE_NAME , config);
107+ return compile_model (model, ov::default_device_name , config);
108108}
109109
110110CompiledModel Core::compile_model (const std::shared_ptr<const ov::Model>& model,
@@ -119,7 +119,7 @@ CompiledModel Core::compile_model(const std::shared_ptr<const ov::Model>& model,
119119
120120CompiledModel Core::compile_model (const std::string& model_path, const AnyMap& config) {
121121 OV_ITT_SCOPED_REGION_BASE (ov::itt::domains::OV, " Compile model" );
122- return compile_model (model_path, ov::DEFAULT_DEVICE_NAME , config);
122+ return compile_model (model_path, ov::default_device_name , config);
123123}
124124
125125#ifdef OPENVINO_ENABLE_UNICODE_PATH_SUPPORT
@@ -279,8 +279,8 @@ RemoteContext Core::create_context(const std::string& device_name, const AnyMap&
279279 OPENVINO_ASSERT (device_name.find (" BATCH" ) != 0 , " BATCH device does not support remote context" );
280280
281281 OV_CORE_CALL_STATEMENT ({
282- auto parsed = parseDeviceNameIntoConfig (device_name, params);
283- auto remoteContext = _impl->get_plugin (parsed._deviceName ).create_context (parsed._config );
282+ auto parsed = parse_device_name_into_config (device_name, params);
283+ auto remoteContext = _impl->get_plugin (parsed.m_device_name ).create_context (parsed.m_config );
284284 return {remoteContext._ptr , remoteContext._so };
285285 });
286286}
@@ -292,8 +292,8 @@ RemoteContext Core::get_default_context(const std::string& device_name) {
292292 OPENVINO_ASSERT (device_name.find (" BATCH" ) != 0 , " BATCH device does not support default remote context" );
293293
294294 OV_CORE_CALL_STATEMENT ({
295- auto parsed = parseDeviceNameIntoConfig (device_name, AnyMap{});
296- auto remoteContext = _impl->get_plugin (parsed._deviceName ).get_default_context (parsed._config );
295+ auto parsed = parse_device_name_into_config (device_name, AnyMap{});
296+ auto remoteContext = _impl->get_plugin (parsed.m_device_name ).get_default_context (parsed.m_config );
297297 return {remoteContext._ptr , remoteContext._so };
298298 });
299299}
0 commit comments