aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/tuple_points_to_analysis.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-07-17 14:59:39 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-07-17 15:04:13 -0700
commiteb16993d2b3c57678d5a7a6634d20c7b7283d964 (patch)
treef689b607a5f623c2071a34b80d05198e4f342283 /tensorflow/compiler/xla/service/tuple_points_to_analysis.h
parent1754a2c0c425006324eac85645beb8599366a4f5 (diff)
[XLA] Allow logical buffer coloring to use liveness information.
PiperOrigin-RevId: 162275084
Diffstat (limited to 'tensorflow/compiler/xla/service/tuple_points_to_analysis.h')
-rw-r--r--tensorflow/compiler/xla/service/tuple_points_to_analysis.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/tensorflow/compiler/xla/service/tuple_points_to_analysis.h b/tensorflow/compiler/xla/service/tuple_points_to_analysis.h
index be821d5154..099713d671 100644
--- a/tensorflow/compiler/xla/service/tuple_points_to_analysis.h
+++ b/tensorflow/compiler/xla/service/tuple_points_to_analysis.h
@@ -145,9 +145,6 @@ std::ostream& operator<<(std::ostream& out, const BufferAlias& buffer_alias);
// the potential sources of each buffer in each instruction's output.
class TuplePointsToAnalysis : public DfsHloVisitorWithDefault {
public:
- using Colorer =
- std::function<Status(TuplePointsToAnalysis* points_to_analysis)>;
-
// Runs points-to analysis on 'module'.
static StatusOr<std::unique_ptr<TuplePointsToAnalysis>> Run(
const HloModule* module);
@@ -213,15 +210,6 @@ class TuplePointsToAnalysis : public DfsHloVisitorWithDefault {
string ToString() const;
- static Colorer DefaultColorer() {
- return [](TuplePointsToAnalysis* points_to_analysis) {
- for (auto& buffer : points_to_analysis->logical_buffers()) {
- buffer->set_color(LogicalBuffer::Color(0));
- }
- return Status::OK();
- };
- }
-
private:
explicit TuplePointsToAnalysis(const HloModule* module) : module_(module) {}