如何在Visual Studio 2010中使用CUDA Parallel NSight调试器监视参考变量?

问题描述:

I can properly watch any variable or pointer but cannot do it for reference variables when debugging with NSight. I have already tried to convert the reference to pointer in the watch or immediate windows but no avail. I don't want to rewrite my code using pointers. I'm using Visual Studio 2010 SP1 in a Windows 7 64 bits machine, CUDA 4.0, Parallel NSight 2.0 and my code is compiling for Win32.

示例:__ device__ void函数(int&参数)

Example: __ device__ void function(int& parameter)

无法调试参数.

Hi dsilva

Hi dsilva

对不起,这不是CUDA的论坛.这是C ++ AMP和PPL的论坛:
http://blogs.msdn.com/b/nativeconcurrency/

Sorry, this is not a forum for CUDA. It is a forum for C++ AMP and PPL:
http://blogs.msdn.com/b/nativeconcurrency/

如果您对C ++ AMP调试有疑问,请在观看有关GPU调试的这段简短视频后,随时将其发布在此论坛中:
http://channel9.msdn.com/Blogs/DanielMoth/GPU-debugging- in-Visual-Studio-2012

If you have questions for C++ AMP debugging please feel free to post them in this forum, after watching this short video on GPU debugging:
http://channel9.msdn.com/Blogs/DanielMoth/GPU-debugging-in-Visual-Studio-2012

对于CUDA问题,包括并行Nsight,您需要找到另一个论坛,祝您好运.

For CUDA questions incl. Parallel Nsight, you need to find another forum, good luck.

干杯
丹尼尔

Cheers
Daniel