diff options
author | 2017-10-02 14:13:11 -0700 | |
---|---|---|
committer | 2017-10-02 14:17:26 -0700 | |
commit | b6d5ff49ecfb5925597c3d5dcf40dd289125e8c2 (patch) | |
tree | e4c0a6c4a9ec2f44435e5a8aaaba1705d749c097 /tensorflow/compiler/xla/util.h | |
parent | fe2c8d814e18cc151b46d5ec26a520c22469c8a5 (diff) |
Support --xla_dump_ir_to for the GPU backend
And while at it:
- Fix some misleading comments on how the CPU backend processes the IR dump
flag.
- Change the optimized IR file suffix to -with-opt.ll for easier globbing.
PiperOrigin-RevId: 170751446
Diffstat (limited to 'tensorflow/compiler/xla/util.h')
-rw-r--r-- | tensorflow/compiler/xla/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/util.h b/tensorflow/compiler/xla/util.h index 1a54c4029c..f6c0bd1563 100644 --- a/tensorflow/compiler/xla/util.h +++ b/tensorflow/compiler/xla/util.h @@ -361,6 +361,9 @@ int64 Product(tensorflow::gtl::ArraySlice<int64> xs); std::vector<std::pair<int64, int64>> CommonFactors( tensorflow::gtl::ArraySlice<int64> a, tensorflow::gtl::ArraySlice<int64> b); +// Removes illegal characters from filenames. +string SanitizeFileName(string file_name); + } // namespace xla #define XLA_LOG_LINES(SEV, STRING) \ |