未验证 提交 2558364c 编写于 作者: L Leo Chen 提交者: GitHub

fix typo: thream->stream (#55445)

上级 015285fd
......@@ -491,7 +491,7 @@ void Copy<platform::CUDAPinnedPlace, platform::CUDAPlace>(
if (UNLIKELY(num == 0)) return;
platform::SetDeviceId(src_place.device);
VLOG(4) << "memory::Copy " << num << " Bytes from " << src_place << " to "
<< dst_place << " by thream(" << stream << ")";
<< dst_place << " by stream(" << stream << ")";
if (stream) {
platform::RecordEvent record_event("GpuMemcpyAsync:GPU->CUDAPinned",
platform::TracerEventType::UserDefined,
......@@ -533,7 +533,7 @@ void Copy<platform::CUDAPlace, platform::CUDAPinnedPlace>(
platform::SetDeviceId(dst_place.device);
VLOG(4) << "memory::Copy " << num << " Bytes from " << src_place << " to "
<< dst_place << " by thream(" << stream << ")";
<< dst_place << " by stream(" << stream << ")";
if (stream) {
platform::RecordEvent record_event("GpuMemcpyAsync:CUDAPinned->GPU",
platform::TracerEventType::UserDefined,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册