diff options
author | 2018-06-27 05:19:14 -0700 | |
---|---|---|
committer | 2018-06-27 05:21:47 -0700 | |
commit | 5245ddde8ac08d40c6cb2f2ad2129a2cdf467ad3 (patch) | |
tree | 1edd1fa7c1bda117b0753ed0af70d3cf6bfc3a1e /tensorflow/stream_executor | |
parent | 3646ca1fc66a174d787ffd4a7569f48bc8f23cf5 (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.cc | 2 |
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; } |