![]() |
![]() |
#1 |
Banned
"Luigi"
Aug 2002
Team Italia
2×3×17×47 Posts |
![]()
The title says it all
![]() Any hints on how to configure Microsoft Visual Studio 2010 Express Edition to compile CUDA programs? Is it possible? Thanks in advance... Luigi |
![]() |
![]() |
![]() |
#2 |
"Oliver"
Mar 2005
Germany
2×3×5×37 Posts |
![]()
Hi Luigi,
I've tried once and failed... but perhaps I'm not the right person to ask for Windows related stuff. May I ask why you want to use VS 2010 Express? Oliver |
![]() |
![]() |
![]() |
#3 |
Banned
"Luigi"
Aug 2002
Team Italia
2×3×17×47 Posts |
![]() |
![]() |
![]() |
![]() |
#4 |
Tribal Bullet
Oct 2004
67168 Posts |
![]()
IIRC the v3.2 CUDA toolkit requires the MSVC2008 Express Edition to be installed on your system, even if you are using MSVC2010. I don't know any more details, because I use MinGW to build CUDA programs on windows and gcc can link Nvidia's libraries directly.
|
![]() |
![]() |
![]() |
#5 | |
Banned
"Luigi"
Aug 2002
Team Italia
2×3×17×47 Posts |
![]() Quote:
Diving into the Web I found links about how difficult can be living with CUDA and VS2010 XE. Luigi |
|
![]() |
![]() |
![]() |
#6 |
Mar 2011
112 Posts |
![]()
Under the Project Properties, you have to set the Platform Toolset to v90. Also, add the CUDA Build Customization Files and it should compile.
|
![]() |
![]() |
![]() |
#7 | |
Banned
"Luigi"
Aug 2002
Team Italia
2×3×17×47 Posts |
![]() Quote:
![]() Sorry for the questions, I'm a bit of a newbie... Luigi |
|
![]() |
![]() |
![]() |
#8 |
Mar 2011
310 Posts |
![]()
If you look in the CUDA installed directory, under extras\visual_studio_integration, you will find the rules. Copy them to
VisualStudioDir\VC\VCProjectDefaults. Also, if you run gpucomputing_intellisense, it will add the cu/cl files to the MSVC intellisense. |
![]() |
![]() |
![]() |
#9 |
Mar 2011
3 Posts |
![]()
Correction: Rules are MSVS 2008, you will have to add a CUDA Target to that directory or solution folder and add it that way. There are a few available online, but I believe one comes with Parallel NSight.
|
![]() |
![]() |
![]() |
#10 |
Banned
"Luigi"
Aug 2002
Team Italia
2·3·17·47 Posts |
![]()
Thanks again JT6. I'll try that today.
![]() Luigi |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which forum CUDA programs are DP vs SP? | VBCurtis | GPU Computing | 3 | 2017-12-26 18:50 |
PFGW build help (with MSVC 2012 Express) | Prime95 | Software | 5 | 2013-08-07 23:51 |
Influence of PCI Express Lanes to GPU Computing | Brain | Hardware | 6 | 2012-05-15 18:37 |
PCI Express 3.0 | ATH | GPU Computing | 2 | 2011-07-08 13:34 |
Can someone help me express this more concisely? | Orgasmic Troll | Math | 2 | 2004-02-06 14:12 |