Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the precision of cudaEventElapsedTime()?

Tags:

cuda

gpu

Say I invoke a cudaEventElapsedTime() and get the return value of 0.123456. Then what is the exact time it suggests?

like image 877
onesuper Avatar asked Mar 21 '23 13:03

onesuper


1 Answers

As stated in the documentation, the function cudaEventElapsedTime returns the elapsed time between two events in milliseconds. It has resolution of about 0.5 microseconds.

So value 0.123456 indicates that the elapsed time between the specified events is 0.123456 milliseconds.

like image 107
sgarizvi Avatar answered Mar 29 '23 09:03

sgarizvi