At the end of profiling with visual porfiler after execution of the program finishes I get the following error:
======== Error: CUDA profiling error.
==20424== Error: Internal profiling error 4087:35.
Program itself runs fine , cuda-memcheck doesn’t complain (though kernel instrumentation mode doesn’t seem to work)
Any info on what that error might mean and how to workaround it ?
Edit: I’m using latest sdk and latest drivers and windows10 64bit.
Update: I’m trying to isolate what function call is causing the problem and I discovered that it happens to choke on specific cuda calls, for instance, if don’t call cudaGetMemInfo function, then it goes further without an error until it complains about cudaCreateStream call (which I cannot workaround unfortunately).