diff options
Diffstat (limited to 'tensorflow/core/distributed_runtime/master_env.h')
-rw-r--r-- | tensorflow/core/distributed_runtime/master_env.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/core/distributed_runtime/master_env.h b/tensorflow/core/distributed_runtime/master_env.h index 16f4d93c8b..da26c42aca 100644 --- a/tensorflow/core/distributed_runtime/master_env.h +++ b/tensorflow/core/distributed_runtime/master_env.h @@ -26,6 +26,7 @@ limitations under the License. namespace tensorflow { +class CollectiveExecutorMgrInterface; class Device; class DeviceSet; class Env; @@ -90,6 +91,10 @@ struct MasterEnv { std::function<Status(const WorkerCacheFactoryOptions&, WorkerCacheInterface**)> worker_cache_factory; + + // Generates per-step CollectiveExecutors and has access to utilities + // supporting collective operations. + CollectiveExecutorMgrInterface* collective_executor_mgr = nullptr; }; } // end namespace tensorflow |