开发者

Emulation mode in CUDA 3.2 with VS2008

开发者 https://www.devze.com 2023-01-23 06:10 出处:网络
I am trying to debug into my kernel code, using the device emulation mode. However, I set break points in my k开发者_StackOverflowernel and it doesn\'t break.

I am trying to debug into my kernel code, using the device emulation mode.

Emulation mode in CUDA 3.2 with VS2008

However, I set break points in my k开发者_StackOverflowernel and it doesn't break.

 MatrixMultiplication_Kernel<<<dimGrid, dimBlock>>>(Md, Nd, Pd, Width);

Can anyone assist me with this?


Device emulation was removed in the 3.1 release. You can debug on Windows using Parallel Nsight, or on Linux/Mac using cuda-gdb (included with the CUDA Toolkit).


I didn't look into it or check it, but maybe the following software is an alternative or could be supportive for debugging purposes regarding cuda:

http://code.google.com/p/gpuocelot/

The most actual paper on the front-site is titled "Ocelot: An Open Source Debugging and Compilation Framework for CUDA". So maybe this software will help you. It seems to be under heavy development.

0

精彩评论

暂无评论...
验证码 换一张
取 消