I want to use timer in my program.So I wrote the following in my code :-
unsigned int timer=0;
scan_best<<< 1, 10 >>>(g_odata, g_idata, n);//Call the kernel
copy the data g_odata from device global memory into m_odata in main memory using cudaMemcpy
I understand that I need to included cutil.h for this, so I included cutil.h. But I am getting the following error while compiling the code:
[root@H/]# nvcc Scan13.cu -o text
Scan13.cu:12:19: error: cutil.h: No such file or directory
I would appreciate your suggestions in this regard.
Thanks for your precious time!!