nsight

cudafy.net with NSight, debugger not working

让人想犯罪 __ 提交于 2019-12-11 04:56:14
问题 As the topic states, I cant get the debugger working. Below is the sequence of steps ive done. Note: I have Cuda 5.0 installed and NSight visual studio edition 3.0 installed. Ive heard that it is possible to debug now with a single GPU. I'm assuming 5.0 is OK and I don't need the 5.5 release candidate? 1) Changed code to include the following as per the instructions on the site: CudafyModes.Target = eGPUType.Cuda; CudafyModes.DeviceId = 0; CudafyTranslator.Language = eLanguage.Cuda;

Setting Nsight to run with existing Makefile project

一个人想着一个人 提交于 2019-12-11 02:44:52
问题 I usually use emacs or Kate but I decided to try out "modern" IDEs for running my codes. I have an already working CUDA/C++ makefile project which I want to run on nsight but I don't see how to fulfill my needs. How can I tell nsight eclipse 5.0.0 to run my project by using an existing makefile? sorry if my question sounds silly to you, but I'm totally new to IDEs. 回答1: With Nsight EE you have several options: Create a new project and copy the sources You can use your shell or any file

nvcc fatal: A single input file is required for a non-link phase when an outputfile is specified

被刻印的时光 ゝ 提交于 2019-12-10 19:51:41
问题 I'm getting this problem with Nsight Eclipse. I just installed my Cuda Toolkit 5.0 I have a project which uses several C files and one Cuda file. I read that sometimes the problem arises when you use C files along Cuda files in Nsight so I changed all files to .cu and .cuh extensions in my project. Likewise it said that sometimes the problem comes from having a path for the files with black spaces which I made sure it's not this case. The error arises when it tries compiling the first file

How to debug CUDA using eclipse Nsight with only one GPU

瘦欲@ 提交于 2019-12-07 00:33:24
问题 I'm getting an error: "all cuda devices are used for display and cannot be used while debugging" (Using Ubuntu) Is there ANY way to use Nsight eclipse with only one GPU for debugging? I have seen solutions like "sudo service lightdm stop" to kill X but that kills Nsight eclipse too so what's the point? Update: Since it is not possible to debug with the same GPU that runs X, I have to ask: How does one go about using ANOTHER computer in his home network to "remotely" access Ubuntu in such a

CUDA 5.0 error LNK2001: unresolved external symbol for cuda methods

孤者浪人 提交于 2019-12-06 09:41:57
问题 I have error in linker 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>kernel.cu.obj : error LNK2001: unresolved external symbol _cudaMalloc@8 1>kernel.cu.obj : error LNK2001: unresolved external symbol _cudaFree@4 I saw similar question added here : Unresolved external symbols in beginners CUDA program But it's already have added this information to linker. So where is the problem ? I'm using Visual Studio 2010 Premium with CUDA SDK 5.0 and Nsight 3.0 for VS Source code here :

Eclipse/Nsight (7.0) and C++11 support

给你一囗甜甜゛ 提交于 2019-12-06 00:34:27
TL;DR: How can I persuade Nsight that I'm using C++11? In other words, where do I set the relevant discovery options? Building with -std=c++11 is working, even from within Eclipse. I'm talking about the Indexer having troubles with defines. Longer version: C++11 functions are marked as unresolved in the Nsight editor, because the __cplusplus define is 199711L, instead of something >= 201103L. When I made the project, in Project Properties > Build > Discovery Options the Automate discovery of Path and Symbols option was checked for every language and every Build Configuration. There was a note

Nsight skips (ignores) over break points in VS10 Cuda works fine, nsight consistently skips over several breakpoints

我怕爱的太早我们不能终老 提交于 2019-12-05 10:48:39
I'm using nsight 2.2 , Toolkit 4.2 , latest nvidia driver , I'm using couple gpu's in my computer. Build customize 4.2. I have set "generate GPU ouput" on CUDA's project properties, nsight monitor is on (everything looks great). I set several break points on my global - kernel function . nsight stops at the declaration of the function , but skips over several break points. it's just like nsight decide whether to hit a break point or skip over a break point. The funny thing is that nsight stops at for loops , but doesn't stop on simple assignment operations. One more problem is that I can't set

How to debug CUDA using eclipse Nsight with only one GPU

帅比萌擦擦* 提交于 2019-12-05 05:16:58
I'm getting an error: "all cuda devices are used for display and cannot be used while debugging" (Using Ubuntu) Is there ANY way to use Nsight eclipse with only one GPU for debugging? I have seen solutions like "sudo service lightdm stop" to kill X but that kills Nsight eclipse too so what's the point? Update: Since it is not possible to debug with the same GPU that runs X, I have to ask: How does one go about using ANOTHER computer in his home network to "remotely" access Ubuntu in such a way that the X desktop rendering will be performed by the Guest computer while letting the host GPU run

How to run CUDA/OpenGL interop (particle) sample from a remote machine

丶灬走出姿态 提交于 2019-12-05 02:24:35
问题 I am trying to run the CUDA particle sample on a remote Ubuntu machine from a host ubuntu machine. I followed this tutorial: http://devblogs.nvidia.com/parallelforall/remote-application-development-nvidia-nsight-eclipse-edition/ and it runs on my host, but not on my remote machine. I get the following output in Nsight: CUDA Particles Simulation Starting... grid: 64 x 64 x 64 = 262144 cells particles: 16384 No protocol specified freeglut (/users/path/particles/Debug/particles): failed to open

How can I create the project in Eclipse-nsight which use both Intel C++ and CUDA C++?

我与影子孤独终老i 提交于 2019-12-04 06:45:55
问题 I want to use ICC (Intel C++ Compiler) with CUDA NVCC (nVidia C++ Compiler) on Linux in the Eclipse-nsight. I installed CUDA 5.5 with Eclipse-nsight and Intel Cluster Studio 2013 XE and then I installed plug-ins (ICC toolchain) in the Eclipse-nsight via menu Help-> Install New Software ... https://software.intel.com/en-us/articles/intel-c-compiler-for-linux-using-intel-compilers-with-the-eclipse-ide-pdf Now I can create Intel C++ project or CUDA C++ project. But how can I create the project