aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-06-27 05:19:14 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-06-27 05:21:47 -0700
commit5245ddde8ac08d40c6cb2f2ad2129a2cdf467ad3 (patch)
tree1edd1fa7c1bda117b0753ed0af70d3cf6bfc3a1e /tensorflow/stream_executor
parent3646ca1fc66a174d787ffd4a7569f48bc8f23cf5 (diff)
[XLA] Support asynchronous execution through XLA
PiperOrigin-RevId: 202292422
Diffstat (limited to 'tensorflow/stream_executor')
-rw-r--r--tensorflow/stream_executor/host/host_gpu_executor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/host/host_gpu_executor.cc b/tensorflow/stream_executor/host/host_gpu_executor.cc
index 2c4819651a..c8a6297330 100644
--- a/tensorflow/stream_executor/host/host_gpu_executor.cc
+++ b/tensorflow/stream_executor/host/host_gpu_executor.cc
@@ -95,7 +95,7 @@ bool HostExecutor::MemcpyDeviceToDevice(Stream *stream,
// the nature of the HostExecutor) memcpy on the stream (HostStream)
// associated with the HostExecutor.
AsHostStream(stream)->EnqueueTask(
- [src_mem, dst_mem, size]() { memcpy(src_mem, dst_mem, size); });
+ [src_mem, dst_mem, size]() { memcpy(dst_mem, src_mem, size); });
return true;
}