แสดงบทความที่มีป้ายกำกับ cuda แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ cuda แสดงบทความทั้งหมด

วันอังคารที่ 19 มกราคม พ.ศ. 2553

Installing NVIDIA NEXUS for Debug CUDA , OpenCL

When installing, Nexus Beta 1 says that the required version of Visual Studio is not detected. But Visual Studio 2008 SP1 is installed! What is wrong?

Nexus Beta 1 looks at keys in the Windows registry in order to determine if Visual Studio 2008 SP1 is installed.

The registry keys read by the Nexus Beta 1 installer are:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0 where key ApplicationID has the value: REG_SZ “VisualStudio”

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0 where key SP has the value: REG_DWORD 0x00000001


If your registry does not have those values in those keys, then unfortunately, Nexus Beta 1 will not install.

text from http://supportcenteronline.com/ics/support/KBAnswer.asp?questionID=70

วันอังคารที่ 15 กันยายน พ.ศ. 2552

Set up CUDA Project #4 : Can't Connect With Dll

I try using Dll import in both Cuda project and C++ project.
Lastly , It FAIL.
Because it doesn't use the same compiler.
Next , I will try to use .lib instead.

If anyone has suggestion please comment that to help me.

another way I wish is waiting for NVIDIA NEXUS after NVIDIA conference.

ByeBye See you Tomorrow.

วันจันทร์ที่ 14 กันยายน พ.ศ. 2552

Set up CUDA Project #3 : LNK1181 again

I encounter LNK1181 again but not error that occur is
(fatal error LNK1181 : cannot open input file 'cudart.lib')

the solution is the same only delete double quote in
project > properties > Configuration Properties > Linker > General > Additional Library Directories

Set up CUDA Project #2 : Try to Build Example Project

I should say it before you read that I install Cuda winapp add-in before do this operation.

when you first build cuda project that you got from SDK
you will get this error (fatal error LNK1181:cannot open input file '.\Debug\bandwidthTest.cu.obj')


even you try search clue in log file. it help you not much



Compiling with CUDA Build Rule...
"C:\CUDA\bin\nvcc.exe" -arch sm_10 -ccbin "C:\Program Files\Microsoft Visual Studio 8\VC\bin" -Xcompiler "/EHsc /W3 /nologo /Od /Zi /MTd " -I""C:\CUDA\include;C:\ProgramFilesSummer4\NVIDIA Corporation\NVIDIA CUDA SDK\common\inc;"" -I"../../common/inc" -maxrregcount=32 --compile -o "Debug\bandwidthTest.cu.obj" bandwidthTest.cu
nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified
Linking...
LINK : fatal error LNK1181: cannot open input file '.\Debug\bandwidthTest.cu.obj'

the right answer for me is come from this url.
http://www.cs.ucf.edu/~janaka/gpu/issues.htm

follow his advice Remove quotations from the nvcc include directories list

from this picture it changed to $(CUDA_INC_PATH);../../common/inc

Set up CUDA Project #1

After Install Cuda WinApp for Visual Studio 2005.
I try start first project and encounter
"This application has failed to start because cutil32D.dll was not found. Re-installing the application may fix this problem."

It solved by copy cutil32D.dll from SDK to CUDA\bin directory