# Times spend on Transferring data Something wrong?

**URL:** <https://forums.developer.nvidia.com/t/times-spend-on-transferring-data-something-wrong/3269>\
**Category:** CUDA Programming and Performance\
**Created:** [April 8, 2008, 1:12am UTC](https://forums.developer.nvidia.com/t/times-spend-on-transferring-data-something-wrong/3269 "2008-04-08T01:12:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Austin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Austin](https://forums.developer.nvidia.com/u/Austin)\
**Post date:** [April 8, 2008, 1:12am UTC](https://forums.developer.nvidia.com/t/times-spend-on-transferring-data-something-wrong/3269/1 "2008-04-08T01:12:15Z")

</div>

Hi,  
I got a problem.I test the time spent on copying data from host to device using timer,although there is a big batch of datas,it cost only less than 10 (ms).what make me confused is the time spent on copying data back is more than 600(ms),only several hundreds bytes data. And the kernel only cost 0.06(ms),What’s happen?I think 600(ms) is the time spent on the kenerl,and the 0.06(ms)is the time for launching the kernel.Am right?  
THX!

---

<div class="post-metadata">

**Author:** ![Austin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Austin](https://forums.developer.nvidia.com/u/Austin)\
**Post date:** [April 8, 2008, 1:24am UTC](https://forums.developer.nvidia.com/t/times-spend-on-transferring-data-something-wrong/3269/2 "2008-04-08T01:24:08Z")

</div>

I think I’m right.Add the cudaThreadSynchronize() after the kernel,the result is true.
