aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/distributed_runtime/worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/distributed_runtime/worker.cc')
-rw-r--r--tensorflow/core/distributed_runtime/worker.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/tensorflow/core/distributed_runtime/worker.cc b/tensorflow/core/distributed_runtime/worker.cc
index d682ac8f34..4e6500fbc6 100644
--- a/tensorflow/core/distributed_runtime/worker.cc
+++ b/tensorflow/core/distributed_runtime/worker.cc
@@ -337,6 +337,15 @@ void Worker::TracingAsync(const TracingRequest* request,
done(errors::Unimplemented("Tracing"));
}
+void Worker::RecvBufAsync(CallOptions* opts, const RecvBufRequest* request,
+ RecvBufResponse* response, StatusCallback done) {
+ // The base Worker class does not implement RecvBufAsync because
+ // it is not currently used for worker-to-worker communication. Use a
+ // transport-specific implementation (such as `GrpcWorker::RecvBufAsync()`)
+ // instead.
+ done(errors::Unimplemented("Worker::RecvBufAsync()"));
+}
+
void Worker::CompleteGroupAsync(CallOptions* opts,
const CompleteGroupRequest* request,
CompleteGroupResponse* response,