Skip to content

Commit

Permalink
[GPU] Removed redundant part for dump file name (openvinotoolkit#27123)
Browse files Browse the repository at this point in the history
### Details:
 - Fixed dump file name to not have layer ID twice.
  • Loading branch information
e-ddykim authored Oct 18, 2024
1 parent 56fe26f commit 03c9ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/debug_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ NodeDebugHelper::NodeDebugHelper(const primitive_inst& inst)
debug_config->dump_layers_dst_only == 0 && debug_config->is_layer_for_dumping(layer_name)) {
std::string debug_str_for_bin_load = " Command for loading : OV_GPU_LoadDumpRawBinary=\"" + layer_name + ":";
for (size_t i = 0; i < m_inst.dependencies().size(); i++) {
std::string name = get_file_prefix() + layer_name + "_src" + std::to_string(i);
std::string name = get_file_prefix() + "_src" + std::to_string(i);
auto input_mem = m_inst.dep_memory_ptr(i);
if (input_mem == nullptr) {
GPU_DEBUG_COUT << " input_mem_" << i << " is nullptr. Nothing to dump." << std::endl;
Expand Down

0 comments on commit 03c9ae3

Please sign in to comment.