From 246d5b95723a275b80f4b803024182b4221b4e43 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 13 Dec 2017 08:43:09 -0800 Subject: 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 --- tensorflow/stream_executor/stream_executor_pimpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tensorflow/stream_executor/stream_executor_pimpl.cc') 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); -- cgit v1.2.3