How to Analyze C# Project that contains CUDA DLL


Please let me know how to analyze C# Project that contains CUDA DLL with Nsight 5.2 or visual profiler

I use Visual Studio 2012 with CUDA 7.0 and I build C# and CUDA Project on x64 with debug mode

Hello HoneyPAK,

I just tried a app which has a c# exe invokes a cuda dll, Nsight profiler cannot profile it and raise an error message as it’s a MSIL app. Visual profiler works, you just need to profile the c# dll and you will get the result.

Best Regards

Thank you Harry,

I succeeded in analyzing a cuda dll with Visiual profiler.

I had to use cudaProfilerStart() and cudaProfilerStop() cuda functions in the cuda source code