aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/human_readable_profile_builder.h
Commit message (Collapse)AuthorAge
* Removed redundant std::string -> string conversions.Gravatar A. Unique TensorFlower2018-08-28
| | | | PiperOrigin-RevId: 210565027
* [XLA] Use absl string types and functions instead of the TF versions.Gravatar Justin Lebar2018-08-23
| | | | | | | Unfortunately this has to be one big patch, because e.g. absl::StrCat doesn't accept a TF StringPiece, but as soon as we switch to absl::string_view, we have to switch away from all of the TF functions. PiperOrigin-RevId: 209957896
* [XLA] Ergonomic improvements to --xla_hlo_profile.Gravatar Justin Lebar2018-05-14
| | | | | | | | | | | | | | | | | | | | | - Don't display ops with 0 optimal seconds and 0 actual cycles. These are ops that were expected to be free and were actually free. - Fix HloCostAnalysis to mark parameters, constants, and get-tuple-element as expected-to-be-free per the definition above. - Allow optimal-seconds < 0 to indicate "I don't know". Use this for custom calls, and then hide such ops from the "seconds above the optimum" table. - Don't display "<none>" and "<unknown>" -- instead, just display the empty string. Less visual noise. - Instead of showing ~5 ops per category in the categories tables, show everything. This isn't so noisy now that we're hiding "free" ops, and it makes finding optimization opportunities much easier. PiperOrigin-RevId: 196564177
* Replaced calls to tensorflow::StringPiece::ToString with std::string ↵Gravatar A. Unique TensorFlower2018-05-07
| | | | | | | | | | conversions. That is, instances of sp.ToString() are replaced with std::string(sp). This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view. PiperOrigin-RevId: 195689392
* Improve handling of transcendental operations in the Hlo profile:Gravatar A. Unique TensorFlower2017-08-02
| | | | | | | - Today they're not printed in the Hlo profile at all, report them as "TROP"s. - Consider Sin, Cos and Tanh as transcendental operations instead of as flops. PiperOrigin-RevId: 164081170
* Allow cost estimates to differ per backend and include the estimates into ↵Gravatar Bjarke Hammersholt Roune2017-07-31
| | | | | | the HLO profile. Add a summary table for what categories have the most opportunity for optimization left in them. PiperOrigin-RevId: 163780413
* Split HLO profile display logic out of hlo_execution_profile.cc, movingGravatar Justin Lebar2017-07-19
it into execution_profile_builder.cc. PiperOrigin-RevId: 162541782