Debug mex function with CUDA
1 回表示 (過去 30 日間)
古いコメントを表示
I would like to debug my mex function but encounter some problems.
The operations that run for doing so are the following:
I open matlab with the command matlab-Ddebbuger (where debbuger is the name of the debugger of the language used in the mex function, in my case -Dcuda-gdb)
Use command dbmex dbstop dbstep or dbstep to advance in the process of debugging
When I dbstep at the time of the call to mex function I get the following error message:
entry point located at address 0xcc025a5c Add breakpoints at the debugger prompt and issue a "continue" to resume execution of MATLAB. Program received signal SIGUSR1, User defined signal 1. 0x00007ffff58acd84 in pthread_cond_wait @ @ GLIBC_2.3.2 () from / lib/x86_64-linux-gnu/libpthread.so.0
and then Matlab crash. Could someone tell me where am I wrong or where he is the problem?
Sorry for my English. Thank you,
Davide
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Report Generator についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!