How to Analyze C# Project that contains CUDA DLL
Hi, 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
Hi,

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

#1
Posted 12/23/2016 02:35 AM   
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 Harry
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
Harry

#2
Posted 12/23/2016 03:57 AM   
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 [quote=""]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 Harry[/quote]
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

said: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
Harry

#3
Posted 12/26/2016 07:30 AM   
Scroll To Top

Add Reply