aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/common_runtime/direct_session.cc
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2017-05-25 18:52:09 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-25 18:55:34 -0700
commit258b5073203573fd9a33fd9f0b133289fb22a2d0 (patch)
treea03885c14e083f584d113a84bf61d4d6f08ac93d /tensorflow/core/common_runtime/direct_session.cc
parent2251633a509d6807d309bff60013c86650bb891d (diff)
tfdbg: add device name to deubg ops
This CL also forms a basis for solving the issue that data from multiple GPUs do not work with file:// debug URLs. In a later CL, the debug tensors will be saved in separate directory trees for different devices (e.g., GPUs). PiperOrigin-RevId: 157180359
Diffstat (limited to 'tensorflow/core/common_runtime/direct_session.cc')
-rw-r--r--tensorflow/core/common_runtime/direct_session.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/core/common_runtime/direct_session.cc b/tensorflow/core/common_runtime/direct_session.cc
index 6a948b4ca7..df99ce6f7a 100644
--- a/tensorflow/core/common_runtime/direct_session.cc
+++ b/tensorflow/core/common_runtime/direct_session.cc
@@ -371,15 +371,15 @@ Status DirectSession::Run(const NamedTensorList& inputs,
}
Status DirectSession::CreateDebuggerState(
- const DebugOptions& debug_options, int64 session_run_count,
- int64 executor_step_count, const std::vector<string>& input_names,
+ const DebugOptions& debug_options, int64 session_run_index,
+ int64 executor_step_index, const std::vector<string>& input_names,
const std::vector<string>& output_names,
const std::vector<string>& target_names,
std::unique_ptr<DebuggerStateInterface>* debugger_state) {
TF_RETURN_IF_ERROR(
DebuggerStateRegistry::CreateState(debug_options, debugger_state));
TF_RETURN_IF_ERROR(debugger_state->get()->PublishDebugMetadata(
- debug_options.global_step(), session_run_count, executor_step_count,
+ debug_options.global_step(), session_run_index, executor_step_index,
input_names, output_names, target_names));
return Status::OK();
}