CUDA VS Wizard 2.0 beta

Well I found the two file more that I need copy and modified :)

I test my changes and those work fine, I only need to set a variable more as default to close this job.

In the Linker I need to set up the type of machine to x64.

The variable is in this path:

 Linker => Advance => Target Machine.

 By default the value is MachineX86 but I need to set MachineX64.

I think this value I need to change in the file  
 C:\Program Files (x86)\Microsoft Visual Studio 8\VC\VCWizards\CUDA64\CUDAWinApp\Scripts\1033\default.js

But I don't find where.

Best Regards,
GUAN

ok^_^ I will make a new one for you …

wait one day~~

Dear all:
I have a problem wiht use of wizard2.0
I use vc 2005 on winxp 64-bit version, and I
use matrixMul (SDK example) as testbench

I compile the code under x64 platform with Debug version

(1) wizard2.0 beta
execution result is wrong no matter what N (array size) is

(2) wizard 1.2
execution is correct

Does anyone have the same problem ?

                                             Lung Sheng

Don’t worry I found it :)

In two days no more later I post my file, maybe you can take somthing for the new release version

GUAN

Well, I’m using Vista 64 using Wizard2.0 Beta.

By default, for using debug you must set project → property → CUDA → Output → Intern mode: set Real <= Very important

Changing the TargetMaching for Machinex64

In Linker => General set again TargetMaching=Machinex64 or IA64 I don’t know your configuration.

In Linker => Input maybe you need to change some lib file for the right version for 64 platform.

Well these are the change that I need to make for compling and running QueryDevice sample for SDK.

Good Luck

GUAN

That’s good:)

Hi, after installing a wizard and creating a sample project, I get the following message:

This application has failed to start because cutil32D.dll was not found.

The projects is in the same directory where the other projects created without wizard are located. They work fine. Are there any additional settings for the project created by the wizard that need to changed?

should add the cutil32D.dll into the system environment.

http://groups.google.com/group/cudagroup/files this video for beginner:)

Thanks, I change "Intern mode: none " to “Intern mode: Real” , then program is O.K.

sorry about it:)

I will update it in the next version~~

Well

I give you my new files.

Mi Environment Variable are the follows:

32 bits
CUDA_BIN_PATH C:\CUDA\bin
CUDA_INC_PATH C:\CUDA\include
CUDA_LIB_PATH C:\CUDA\lib
NVSDKCUDA_ROOT C:\Program Files (x86)\NVIDIA Corporation\NVIDIA CUDA SDK

64 bits
CUDA_BIN_PATH_64 C:\CUDA_64\bin
CUDA_INC_PATH_64 C:\CUDA_64\include
CUDA_LIB_PATH_64 C:\CUDA_64\lib
NVSDKCUDA_ROOT_64 C:\Program Files (x86)\NVIDIA Corporation\NVIDIA CUDA SDK 64

My targetmachine for 64 platform is X64 not IA64

According to these notes, I attach my files to create a CUDA64 application base on CUDA Wizar 2 beta 2.0
In this way I have 2 entries in New Project:

CUDA => for 32 bits (by normal installation of CUDA Wizar 2)
CUDA64 => for 64 bits (by files attached to this post)

I hope that It can help someone
Best Regards,
GUAN
Files_for_x64_.rar (117 KB)

to GUAN: Thank you very much…

Hello everyone,

I downloaded the CUDA wizard 2.0 and tried to run the sample.cu with Visual Studio 2005 Express Edition. My computer has a GeForce 8600 GT. My problem is the following: When I compile the sample.cu, Visual Studio complains with this message:

nvcc fatal : Value of -arch option (‘sm_11’) must be a virtual code architecture

I figured out, however, that if I go to Project->Properties->CUDA->Advanced->GPU Architecture Compile Name and change the value from 1.1 (hardware) Arch to 1.1 (Virtual) Arch the program is compiled correctly. Is it ok leaving this option like this?

Thank you very much!

Kind regards,
dtheodor

to dtheodor: yes~

2Author
I use WinXP 32bit and your Wizard in VS2005.
I create new project, for example, in d:\work, projectname=text and trying to compile it in all configurations: Release, EmuRelease, Debug and EmuDebug.
So, I found that paths in solutions are wrong at EmuDebug and EmuRelease configs. At EmuDebug the compiled .exe, .ilk and .pdb files are located in directiory 1 level above that project files, but project is running correcly. When I use EmuRelease config only compiled .exe file is located in directory 1 level above. But in both configs the .dep, .manifest and other files are in right place: d:\work\test\test\debug.
If it needed, I can send all information about directories structure.

Also, I had problem when adding files in project using 1.0 release, now will test it in 2.0beta and if it remains I’ll write

And thanks for idea, it very helpful.

Thank you very much…

I had released the 2.0release version. Change some default setting in the new version.

Please use the 2.0release.

http://forums.nvidia.com/index.php?showtopic=83054

Hello!

I am also new on this CUDA thing and I have a small problem so if anyone knows how to fix it I would be the most grateful.

The thing is following, when a crate a new, empty cuda console application without any code in it besides the default one I get this message:

Error 1 fatal error LNK1181: cannot open input file ‘.\Debug\sample.obj’

Can anyone help me, please?

Thank you

can you show me the more compiler messages ?

Just one message and that’s the one I already wrote in the post above. If it can help you, I’ll describe shortly the procedure:

First, I got your 2.0 Wizard and installed it.

Secondly, I made an empty cuda console application and tried just to debug it without any further action or code in it.

Then the message came so I made sure that all the parameters like CUDA-> Output → Intern mode are real

[b]and CUDA → Advanced ->GPU Architecture Compile name are set to 1.1 (virtual) Arch

and CUDA → Advanced ->GPU Architecture Code Name are set to 1.1 (hardware) code[/b]

If there is anything else that needs to be done please let me know, thANKS

to Ivan_Dj:
What’s the mean empty cuda application?
Can you post your project to me?