aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/stream_executor_pimpl.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-12-13 08:43:09 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-12-13 08:46:42 -0800
commit246d5b95723a275b80f4b803024182b4221b4e43 (patch)
tree9edc1808fdfddf37ada6ea1d4245b48771ff5637 /tensorflow/stream_executor/stream_executor_pimpl.cc
parent2eae1ac21ce28f3b2cafe9e12a25b3bddc475847 (diff)
Stream::BlockHostUntilDone now returns Status rather than bool.
The now-deprecated Stream::BlockHostUntilDoneWithStatus remains, to facilitate a multi-CL renaming transition. Once all callers have been renamed to BlockHostUntilDone, *WithStatus will be removed. The StreamExecutor (private) method has also been renamed to BlockHostUntilDone. It's only used by Stream. The StreamExecutorInterface method will be renamed in a separate atomic CL. It's harder to perform that transition gradually, and we've already performed an atomic change previously, so we might as well fix it up in one shot. PiperOrigin-RevId: 178907807
Diffstat (limited to 'tensorflow/stream_executor/stream_executor_pimpl.cc')
-rw-r--r--tensorflow/stream_executor/stream_executor_pimpl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/stream_executor_pimpl.cc b/tensorflow/stream_executor/stream_executor_pimpl.cc
index 719f292937..c4b248657e 100644
--- a/tensorflow/stream_executor/stream_executor_pimpl.cc
+++ b/tensorflow/stream_executor/stream_executor_pimpl.cc
@@ -432,7 +432,7 @@ bool StreamExecutor::Launch(Stream *stream, const ThreadDim &thread_dims,
return implementation_->Launch(stream, thread_dims, block_dims, kernel, args);
}
-port::Status StreamExecutor::BlockHostUntilDoneWithStatus(Stream *stream) {
+port::Status StreamExecutor::BlockHostUntilDone(Stream *stream) {
port::Status result;
SCOPED_TRACE(TraceListener::BlockHostUntilDone, &result, stream);