visual studio 2010 - How does one compile a CUDA Toolkit 4.0 RC2 program under VS2010 or VS2008? -


i'm complete cuda beginner , i'm trying figure out how write , compile test cuda program using visual studio.

i have cuda 4 toolkit installed , both 2008 , 2010 versions of visual studio installed. read starting cuda 4.0, support vs100 compiler has been added, have no idea how set project use nvcc , whether or not need compile basic program. if there no support vs100, gladly use vs2008 , vs90 compiler, still don't know how make project use cuda 4.0 compiler.

i grateful if explain how done. thank in advance!

i wrote couple of tutorials on how this.

http://www.ademiller.com/blogs/tech/2011/03/using-cuda-and-thrust-with-visual-studio-2010/

http://www.ademiller.com/blogs/tech/2011/04/using-cuda-and-thrust-with-vs-2010-part-2-x64-builds/

these 4.0 rc not rc2 should fine. first thing i'd recommend install nvidia nsight 1.51. solve of basic setup issues you. need both vs 2010 , 2008 v90 compiler.

then work through tutorials.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -