Skip to content

Commit

Permalink
mkldnn::engine initialize fix in blob_dumper (openvinotoolkit#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Andronov committed Jul 20, 2021
1 parent ab00688 commit 3f50959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inference-engine/src/mkldnn_plugin/utils/blob_dump.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<MKLDNNMemory>(eng);
memory->Create(desc, data.data());
}
Expand Down

0 comments on commit 3f50959

Please sign in to comment.