diff --git a/src/plugins/intel_gpu/include/intel_gpu/plugin/plugin.hpp b/src/plugins/intel_gpu/include/intel_gpu/plugin/plugin.hpp index 12b640305c10b6..a5ea28b95f78ba 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/plugin/plugin.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/plugin/plugin.hpp @@ -45,7 +45,6 @@ class Plugin : public ov::IPlugin { public: Plugin(); - ~Plugin(); std::shared_ptr compile_model(const std::shared_ptr& model, const ov::AnyMap& properties) const override; diff --git a/src/plugins/intel_gpu/src/plugin/plugin.cpp b/src/plugins/intel_gpu/src/plugin/plugin.cpp index 0ee5f7ee02d6d2..8592feaea0bb94 100644 --- a/src/plugins/intel_gpu/src/plugin/plugin.cpp +++ b/src/plugins/intel_gpu/src/plugin/plugin.cpp @@ -158,21 +158,6 @@ Plugin::Plugin() { m_compiled_model_runtime_properties["OV_VERSION"] = ov_version.buildNumber; } -Plugin::~Plugin() { -#ifdef ENABLE_ONEDNN_FOR_GPU - // To prevent hanging during oneDNN's primitive cache desctruction, - // trigger earlier cache cleanup by setting its capacity to 0. - // Related ticket: 106154. - dnnl::set_primitive_cache_capacity(0); - - // In case of multiple ov::Core instances (and multiple GPU plugins) we need to restore original - // cache capacity to prevent working with zero-capacity cache in other GPU Plugin instances, since - // cache is shared between all of GPU Plugin instances and cache clean up affects all of them. - const int default_cache_capacity = 1024; - dnnl::set_primitive_cache_capacity(default_cache_capacity); -#endif -} - std::shared_ptr Plugin::compile_model(const std::shared_ptr& model, const ov::AnyMap& orig_config) const { OV_ITT_SCOPED_TASK(itt::domains::intel_gpu_plugin, "Plugin::compile_model"); std::string device_id = get_device_id(orig_config); diff --git a/src/plugins/intel_gpu/thirdparty/onednn_gpu b/src/plugins/intel_gpu/thirdparty/onednn_gpu index 7b21ce5885500c..26c5598cccbc14 160000 --- a/src/plugins/intel_gpu/thirdparty/onednn_gpu +++ b/src/plugins/intel_gpu/thirdparty/onednn_gpu @@ -1 +1 @@ -Subproject commit 7b21ce5885500c3f14cdba6e7ffa57561a9b8a57 +Subproject commit 26c5598cccbc144ff49255a0b44f00cb9b19e6f3