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-05-08 14:10:10 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-10 15:26:43 -0700
commit09f3fb939c9b395a9bc747cf81d15b2dc2804c3e (patch)
treec69f74947e38a7be1313e22f66397454f67fc849 /tensorflow/compiler/xla/service/tuple_points_to_analysis.h
parent70c303386909fe1a0d34cada6fe5a42565279849 (diff)
Merged commit includes the following changes:
155425029 by A. Unique TensorFlower <gardener@tensorflow.org>: Internal change. -- 155424167 by A. Unique TensorFlower <gardener@tensorflow.org>: Internal change. -- PiperOrigin-RevId: 155425029
Diffstat (limited to 'tensorflow/compiler/xla/service/tuple_points_to_analysis.h')
-rw-r--r--tensorflow/compiler/xla/service/tuple_points_to_analysis.h15
1 files changed, 3 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 a384529171..85a71b56ce 100644
--- a/tensorflow/compiler/xla/service/tuple_points_to_analysis.h
+++ b/tensorflow/compiler/xla/service/tuple_points_to_analysis.h
@@ -148,12 +148,9 @@ 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:
- // Runs points-to analysis on 'module'. If 'include_loop_fusion_instructions'
- // is true, includes fused instructions from each loop fusion instruction
- // in 'module' in the points-to analysis.
+ // Runs points-to analysis on 'module'.
static StatusOr<std::unique_ptr<TuplePointsToAnalysis>> Run(
- const HloModule* module,
- const bool include_loop_fusion_instructions = false);
+ const HloModule* module);
// Return the points-to set of an instruction. This describes the potential
// sources of each buffer in the instruction's output.
@@ -218,10 +215,7 @@ class TuplePointsToAnalysis : public DfsHloVisitorWithDefault {
string ToString() const;
private:
- explicit TuplePointsToAnalysis(const HloModule* module,
- const bool include_loop_fusion_instructions)
- : module_(module),
- include_loop_fusion_instructions_(include_loop_fusion_instructions) {}
+ explicit TuplePointsToAnalysis(const HloModule* module) : module_(module) {}
// Perform the analysis. Should be called immediately after constructing the
// object and before calling GetPointsToSet.
@@ -261,9 +255,6 @@ class TuplePointsToAnalysis : public DfsHloVisitorWithDefault {
// The module this analysis is performed on.
const HloModule* module_;
- // Whether to run points-to analysis on loop fusion instructions in 'module_'.
- const bool include_loop_fusion_instructions_;
-
// A map containing a PointsToSet for every HLO instruction.
tensorflow::gtl::FlatMap<const HloInstruction*, std::unique_ptr<PointsToSet>>
points_to_;