From 1c49dd6193b968983ff8f91cf7ed5e5b551fd32c Mon Sep 17 00:00:00 2001 From: Maxim Andronov Date: Wed, 14 Jul 2021 11:10:34 +0300 Subject: [PATCH] mkldnn::engine initialize fix in blob_dumper (#12) --- inference-engine/src/mkldnn_plugin/utils/blob_dump.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference-engine/src/mkldnn_plugin/utils/blob_dump.h b/inference-engine/src/mkldnn_plugin/utils/blob_dump.h index babf450b587eca..a866def54a9e6a 100644 --- a/inference-engine/src/mkldnn_plugin/utils/blob_dump.h +++ b/inference-engine/src/mkldnn_plugin/utils/blob_dump.h @@ -27,7 +27,7 @@ class BlobDumper { BlobDumper() = default; BlobDumper(const MKLDNNMemoryDesc &desc) { data.resize(desc.getMemSize()); - mkldnn::engine eng; + mkldnn::engine eng(mkldnn::engine::kind::cpu, 0); memory = std::make_shared(eng); memory->Create(desc, data.data()); }