Skip to content

Commit

Permalink
[CPU] Migration on oneDNN v2.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
antonvor committed Dec 20, 2021
1 parent 0e4c50e commit ebe89de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions inference-engine/src/mkldnn_plugin/utils/verbose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include "dnnl_types.h"
#include "dnnl_debug.h"
#include "../src/common/verbose.hpp"

#include <string>
#include <cstdlib>
Expand Down Expand Up @@ -103,11 +104,13 @@ void Verbose::printInfo() {
shift(written);
written = snprintf(portsInfo + written_total, CPU_VERBOSE_DAT_LEN - written_total, "%s", prefix.c_str());
shift(written);
written = dnnl_md2fmt_str(portsInfo + written_total, CPU_VERBOSE_DAT_LEN - written_total, &desc);
std::string fmt_str = dnnl::impl::md2fmt_str(&desc);
written = snprintf(portsInfo + written_total, CPU_VERBOSE_DAT_LEN - written_total, "%s", fmt_str.c_str());
shift(written);
written = snprintf(portsInfo + written_total, CPU_VERBOSE_DAT_LEN - written_total, ":");
shift(written);
written = dnnl_md2dim_str(portsInfo + written_total, CPU_VERBOSE_DAT_LEN - written_total, &desc);
std::string dim_str = dnnl::impl::md2dim_str(&desc);
written = snprintf(portsInfo + written_total, CPU_VERBOSE_DAT_LEN - written_total, "%s", dim_str.c_str());
shift(written);
};

Expand Down
2 changes: 1 addition & 1 deletion inference-engine/thirdparty/mkl-dnn
Submodule mkl-dnn updated 1208 files

0 comments on commit ebe89de

Please sign in to comment.