Skip to content

Commit 63fc0ab

Browse files
authored
[CPU][DEBUG_CAPS] Create directory for input/output blobs automatically (#29197)
### Details: - Create directory specified in `OV_CPU_BLOB_DUMP_DIR` environment variable if blob dumping debug capability is enabled ### Tickets: - N/A
1 parent 25c216f commit 63fc0ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plugins/intel_cpu/src/utils/node_dumper.h

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#ifdef CPU_DEBUG_CAPS
77
# include <node.h>
88

9+
# include "openvino/util/file_util.hpp"
910
# include "utils/debug_caps_config.h"
1011

1112
namespace ov {
@@ -24,6 +25,7 @@ class DumpHelper {
2425
: node(_node),
2526
count(_count),
2627
config(_config) {
28+
ov::util::create_directory_recursive(config.blobDumpDir);
2729
dumpInputBlobs(node, config, count);
2830
}
2931

0 commit comments

Comments
 (0)