I ran my cuda program on visual studio 2013 and it worked fine, now on visual profiler i cannot check my performance stats as i cannot go ahead of generating timeline dialogue? plus i am new to cuda programming
Try putting cudaDeviceReset(); at the end of your program
its already there !!