diff options
author | 2018-02-26 14:32:08 -0800 | |
---|---|---|
committer | 2018-02-26 14:40:15 -0800 | |
commit | a80896d3b3a2358f324dc4cd429409ea9acc8a09 (patch) | |
tree | 044bdf179baf81dcd2caaa37bd096035d35ba084 /tensorflow/compiler/xla/service/compiler.cc | |
parent | 26a765f95acc7cbc762b8e1fef94921cab8f181d (diff) |
Track DebugOptions in AotCompilationOptions
In particular, I need this for supporting HLO profiling in the AOT backend.
PiperOrigin-RevId: 187081674
Diffstat (limited to 'tensorflow/compiler/xla/service/compiler.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/compiler.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/service/compiler.cc b/tensorflow/compiler/xla/service/compiler.cc index e2e9d2a0c0..0392d4af48 100644 --- a/tensorflow/compiler/xla/service/compiler.cc +++ b/tensorflow/compiler/xla/service/compiler.cc @@ -86,4 +86,7 @@ Compiler::GetPlatformCompilers() { return compilers->at(platform->id()).get(); } +AotCompilationOptions::AotCompilationOptions() + : debug_options_(legacy_flags::GetDebugOptionsFromFlags()) {} + } // namespace xla |