This project is read-only.

Profiler functions

Jun 19, 2013 at 9:59 PM

seems like the profiler functions are missing (header file "cudaProfiler.h"). For me the Visual Profiler is not working without a call to cuProfilerStop() - the profiling metrics are not flushed and are lost when the context is destroyed.

Jun 19, 2013 at 11:51 PM
Hi Robert,

you're right, I missed the API change in Cuda 5.0, before that any profiling API was disabled while running with Visual Profiler...
I will add this in the coming ManagedCuda 5.5 release, for the moment you can fix it by adding either directly to DriverAPI.cs in managedCuda or in your application the static method:
public static extern CUResult cuProfilerStop();
where CUDA_DRIVER_API_DLL_NAME is "nvcuda".
But I guess you did already something similar ;-)