aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/fft.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-12-13 13:39:02 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-12-13 13:42:40 -0800
commit553e8f14c8c025a8c09e0a6cb824c786bc258f56 (patch)
treee760554e479fc684473c6d09850c7ffc00b2fa5a /tensorflow/stream_executor/fft.h
parent3d74c715a2ed66ced2bd87c90befb9e70ba8a3d1 (diff)
Update Stream::BlockHostUntilDone examples and documentation.
The new Status return value must be explicitly handled or ignored. PiperOrigin-RevId: 178950527
Diffstat (limited to 'tensorflow/stream_executor/fft.h')
-rw-r--r--tensorflow/stream_executor/fft.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/stream_executor/fft.h b/tensorflow/stream_executor/fft.h
index 98cd77e206..408516a416 100644
--- a/tensorflow/stream_executor/fft.h
+++ b/tensorflow/stream_executor/fft.h
@@ -34,8 +34,8 @@ limitations under the License.
// stream_exec.AsFft()->Create1dPlan(&stream, 1024, Type::kC2CForward);
// stream
// .Init()
-// .ThenFft(plan.get(), x, &y)
-// .BlockHostUntilDone();
+// .ThenFft(plan.get(), x, &y);
+// SE_CHECK_OK(stream.BlockHostUntilDone());
//
// By using stream operations in this manner the user can easily intermix custom
// kernel launches (via StreamExecutor::ThenLaunch()) with these pre-canned FFT