Has anybody resolved this? Squisher’s answer is fine, but I would like more control than that – for example, I would like different kernels to output to different files. Like firstname.lastname@example.org, I am using VS2010, Win7, and my printf output goes into the ether when using freopen.
__global__ void printfTst()
printf("This is the Kernel Output");
printf ("CPU output before redirection.");
printf ("CPU output redirected to a file stdout.");