Hi
I am calculating time based on cudaeventtime of events on cuda and value i am getting is 650ms
and if i used nvvp profiler and add all the time value is only 400ms
which to believe and why?
secondly ,
in cudamemcpy() //is this required that src and dest have same size ?? I am getting run time error as argument issue.
thanks
“in cudamemcpy() //is this required that src and dest have same size ?? I am getting run time error as argument issue.”
it is not; but make sure that:
a) source/ destination is properly allocated
b) the number of bytes to copy does not imply out of bounds ito source/ destination
c) the source/ destination you specify, does not imply something out of bounds