Today I bought a new laptop with NVIDIA GeForce GT 660M card, and it came with pre-installed Windows 8. I performed the following steps, and have successfully executed my first small CUDA code.
1. Installed MS Visual Studio (Visual C++) Express 2010 Edition
2. Installed most recent CUDA Toolkit (5.0) from here.
3. Executed the NVidia CUDA samples that came along with the toolkit (as a part of the computing SDK I guess). They executed correctly. However I was not able to compile the corresponding VC projects in VS 2010.
4. So, I followed these steps (and as a part of that wrote a simple and small CUDA code for vector addition within a new VS project). Now my new CUDA code compiled successfully.
5. To allow syntax highlighting for CUDA (.cu) files in VS, I followed these steps. And now, the syntax highlighting (even for CUDA keywords such as BlockIdx) is working fine! :).
1. Installed MS Visual Studio (Visual C++) Express 2010 Edition
2. Installed most recent CUDA Toolkit (5.0) from here.
3. Executed the NVidia CUDA samples that came along with the toolkit (as a part of the computing SDK I guess). They executed correctly. However I was not able to compile the corresponding VC projects in VS 2010.
4. So, I followed these steps (and as a part of that wrote a simple and small CUDA code for vector addition within a new VS project). Now my new CUDA code compiled successfully.
5. To allow syntax highlighting for CUDA (.cu) files in VS, I followed these steps. And now, the syntax highlighting (even for CUDA keywords such as BlockIdx) is working fine! :).
No comments:
Post a Comment