How can I programmatically launch a CUDA command-line application in a CUDA profile and access the generated profiling information stored as CSV files by the profiler?
Background:
I am writing a program that automates performance comparisons between versions of equivalent CPU and GPU codes. The program passes the paths to two executable files as arguments, one for the central processor and one for the GPU. The program then profiles the GPU version by running it in the CUDA command-line profile profile and analyzing the results.
I am using Windows 7.
I would like to start the profiler using a call to system () or ShellExecute ().
I should try to run it like this: system ("nvvp + filepath")
I read the Compute Command Line command line user manual but did not find the necessary information there.
source share