aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/xla.proto
diff options
context:
space:
mode:
authorGravatar Eli Bendersky <eliben@google.com>2017-06-26 09:35:14 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-06-26 09:42:32 -0700
commita3a7d1ac38da8fec75ae5a0eaee743b065a9b85c (patch)
treef5353838a3405866ad5adada0eaed0fbb60e05f6 /tensorflow/compiler/xla/xla.proto
parent6b7b01a9c5df50977476b3c2892a896d9934f381 (diff)
[XLA] Move HLO dumping flags from service_flags to debug_options_flags
This also removes the duplication in the xla_generate_hlo_graph flag. This CL also moves the actual dumping logic from Executable to the hlo_graph_dumper namespace, where it belongs; this is in preparation for removing the hlo_dumper callback altogether, since it isn't serving any role beyond what a direct call to hlo_graph_dumper would have (b/62872831 has more details). PiperOrigin-RevId: 160154869
Diffstat (limited to 'tensorflow/compiler/xla/xla.proto')
-rw-r--r--tensorflow/compiler/xla/xla.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/xla.proto b/tensorflow/compiler/xla/xla.proto
index 46dd28c04d..8db0c26da3 100644
--- a/tensorflow/compiler/xla/xla.proto
+++ b/tensorflow/compiler/xla/xla.proto
@@ -28,6 +28,19 @@ message DebugOptions {
// dump *all* HLO modules.
string xla_generate_hlo_graph = 1;
+ // Show addresses of HLO ops in graph dump.
+ bool xla_hlo_graph_addresses = 21;
+
+ // Show layout of HLO ops in graph dump.
+ bool xla_hlo_graph_layout = 22;
+
+ // HLO modules matching this regex will be dumped to LOG(INFO). Set to ".*" to
+ // dump *all* HLO modules.
+ string xla_log_hlo_text = 23;
+
+ // Dump all HLO modules as text into the provided directory path.
+ string xla_generate_hlo_text_to = 24;
+
// List of HLO passes to disable. These names must exactly match the pass
// names as specified by the HloPassInterface::name() method.
repeated string xla_disable_hlo_passes = 2;