aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/stream_executor_internal.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-12-09 10:07:17 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-12-09 10:11:03 -0800
commit37641276d8e6ff9617478f78afaefaf1a5c28332 (patch)
tree8347a0318b73a8730b24f6b644e69fed69d7c20a /tensorflow/stream_executor/stream_executor_internal.h
parentfefa1c222fb883ebf119d35151fd67f91a73a07f (diff)
Replace StreamExecutorInterface::BlockHostUntilDone with BlockHostUntilDoneWithStatus
All known overrides of StreamExecutorInterface::BlockHostUntilDone are changed by this CL. PiperOrigin-RevId: 178492517
Diffstat (limited to 'tensorflow/stream_executor/stream_executor_internal.h')
-rw-r--r--tensorflow/stream_executor/stream_executor_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/stream_executor/stream_executor_internal.h b/tensorflow/stream_executor/stream_executor_internal.h
index d2426f46e2..0a9bef71d0 100644
--- a/tensorflow/stream_executor/stream_executor_internal.h
+++ b/tensorflow/stream_executor/stream_executor_internal.h
@@ -219,8 +219,7 @@ class StreamExecutorInterface {
virtual void DeallocateTimer(Timer *timer) = 0;
virtual bool StartTimer(Stream *stream, Timer *timer) = 0;
virtual bool StopTimer(Stream *stream, Timer *timer) = 0;
- virtual bool BlockHostUntilDone(Stream *stream) = 0;
- virtual port::Status BlockHostUntilDoneWithStatus(Stream *stream);
+ virtual port::Status BlockHostUntilDoneWithStatus(Stream *stream) = 0;
virtual int PlatformDeviceCount() = 0;
virtual port::Status EnablePeerAccessTo(StreamExecutorInterface *other) = 0;
virtual bool CanEnablePeerAccessTo(StreamExecutorInterface *other) = 0;