cuda-gdb Error message

前端 未结 2 378
逝去的感伤
逝去的感伤 2021-01-29 02:47

I tried to debug my CUDA application with cuda-gdb but got some weird error.

I set option -g -G -O0 to build my application. I could run my program without

相关标签:
2条回答
  • 2021-01-29 03:22

    Actually, this issue is only specific to some old NVIDIA GPUs(like "Quadro 400", "GeForce GT220", or "GeForce GT 330M", etc).

    On Liam Kim's setup, cuda-gdb should work fine by set environment variable "CUDA_VISIBLE_DEVICES", and let cuda-gdb running on Tesla C2070 GPUs specifically. I.e $export CUDA_VISIBLE_DEVICES=0 (or 2) - the exact CUDA devices index could be found by running cuda sample - "deviceQuery".

    And now, this issue has been fixed, the fix would be availble for CUDA developers in the next CUDA release(it will be posted out around early July, 2014).

    0 讨论(0)
  • 2021-01-29 03:33

    This is internal cuda-gdb bug. You should report a bug.

    Can you try installing CUDA toolkit from the package on NVIDIA site?

    0 讨论(0)
提交回复
热议问题