aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_domain_isolator.h
diff options
context:
space:
mode:
authorGravatar Mark Heffernan <meheff@google.com>2018-09-19 08:12:29 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-19 08:16:42 -0700
commitf8655c08cfe3bd99ec1703211e1c9154a14a6150 (patch)
tree90bf5c29d3a1f77764c2f2392c4b0564b490c995 /tensorflow/compiler/xla/service/hlo_domain_isolator.h
parente1db78697b05be673562fe2b1c9a995d25a71d4c (diff)
Add interface for HLO passes which run on HloModuleGroup.
Derive HloModulePass and HloModuleGroupPass from HloPassInterface which run module-scoped and module-group-scoped respectively. Replace all existing uses of HloPassInterface with HloModulePass because all existing passes are module-scoped. Also rewrite HloPassPipeline to support both module-scoped and module-group-scoped passes. PiperOrigin-RevId: 213629604
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_domain_isolator.h')
-rw-r--r--tensorflow/compiler/xla/service/hlo_domain_isolator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_domain_isolator.h b/tensorflow/compiler/xla/service/hlo_domain_isolator.h
index d36631fc2f..c0bf1b9e16 100644
--- a/tensorflow/compiler/xla/service/hlo_domain_isolator.h
+++ b/tensorflow/compiler/xla/service/hlo_domain_isolator.h
@@ -30,7 +30,7 @@ namespace xla {
// used to break an HLO graph edge connecting two instructions with different
// sharding. If a set of connected instructions have all the same sharding, no
// kDomain instruction will be placed.
-class HloDomainIsolator : public HloPassInterface {
+class HloDomainIsolator : public HloModulePass {
public:
// Creates a new kDomain instruction for the edge between the use instruction
// (the first HloInstruction argument), and the operand instruction (the