Debugging CUDA MEX in VS2017 on Volta GPU
3 ビュー (過去 30 日間)
古いコメントを表示
I’m using Visual Studio 2017 Professional version 15.9.2, MATLAB R2018b, and I’m running a Titan V in TCC mode, driver version 411.70.
I’m attempting to debug a CUDA MEX function to solve a ‘CUDA_ERROR_ILLEGAL_ADDRESS’ error I’m getting. My code compiles fine, and runs for a set number of repetitions, then produces this error.
Starting with this post as a reference
It seems some things have changed since this question was answered.
I can follow the procedure outlined by Joss up to step 12. ‘Transport’ appears to have been replaced by ‘Connection Type’, and ‘NSight GPU Debugger’ seems to be showing up as ‘NSight VSE Debugger(Legacy)’. However, at this point I’m unable to locate MATLAB in the Processes for CUDA type (nothing at all shows up, actually).
If I right click the .CU file in Visual Studio and choose ‘Debug and Launch Settings’ then I see that “Default” is selected.
In researching this on my own, it seems the “Legacy” debugger does not support my GPU.
and it seems that attachment to a process is not possible using the next gen debugger
Does this mean that im out of luck for debuggers in mexcuda until NSight Next Gen Debugger is updated? Is there an alternative process I should be following? Is there something I'm missing?
1 件のコメント
Vyacheslav Samokhvalov
2021 年 3 月 19 日
Hi Aaron,
I'm in a similar situation but with a slightly different setup in hardware. Were you able to resolve your problem?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で GPU Computing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!