Hi Im using 9800GT and 9500GT on windows.
Im trying to measure time it takes to copy data from host to device. Im currently using code bellow.
#include <time.h> int start, end; float time; start = clock(); cudaMemcpy(...); end = clock(); time = start - end;
problem arise that variable time calculated this way is 0 and Im pretty sure it would not be that short since Im copying
array of size 1000 with cuComplex type. Also Im struggling with making my code to run fast but not sure if generally
time of copying back and forth the data takes long or displaying the data with bitmap.anim takes long. Can somebody help me with this?
Thank you for your kindness.