如何在Visual Studio 2010中使用CUDA Parallel NSight调试器监视参考变量? [英] How to watch reference variables using CUDA Parallel NSight debugger in Visual Studio 2010?

查看:138
本文介绍了如何在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


这篇关于如何在Visual Studio 2010中使用CUDA Parallel NSight调试器监视参考变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆