2013년 8월 25일 일요일
CUDA VS2010 project setup
After new VS 2010 project ,
It needs to add CUDA related enviroment setup
1. ADD CUTA in specifying custom build tools
Right Click project file then select "specifying custom build tools"
Check CUDA 5.0 , Press OK
2. Add CUDA include directory
Project properties > General > C/C++ > General > Additional Include Directory > Edit
then add
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\include
3. Add CUDA Libs
Project properties > linker > input > addtional dependency
then add
cuda.lib;cudart.lib
4. Add CUDA Lib Path
Project properties > linker > general > additional library directory
then add
$(CudaToolkitLibDir)
Now We can write down basic CUDA API in program.
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기