Platform: Windows 7 (32 bit)
CUDA Hardware: None yet, will use simulator till then.
1 Prologue
Before you start, get a clear idea about CUDA and its features from here.
2 Installation
2.1 Software setups
Basic step is
to download the latest SDK and to choose an appropriate Toolkit according to
your hardware’s compute capability. Download links are given here.
If
you don’t have the hardware yet, you will need to use the emulator to compile and run programs (covered here). The emulator
was however deprecated in the 3.x updates. Hence you need to download CUDA
Toolkit 2.3 from here.
2.2 Installation
Steps
Thankfully
for windows, no post-installation configuration is required. Just run the
setups and install-away.
3
Choose your language: C\C++
3.1 C++
Visual Studio
will be used for C++ development for convenience. Express versions can be
downloaded and registered for no cost. Or check with your countries IEEE MSDNAA
alliance website if you are a member.
(If
other, better IDE’s now have compatibility with CUDA; please notify me
in the comments)
Downloads:
3.2 C
C is best used on Linux or a native Linux environment. For windows users, the limited capability offered by the command line is satisfactory in this context. No separate setup is needed as the environment variables are already in place and CUDA’s compiler; nvcc can be invoked from the command line directly.
3.3 Java
I am, as of now, not committed to the idea of using Java for CUDA programs. But for reference, please go to this site.
After these steps have been completed, you are now ready to compile and execute CUDA programs.
This comment has been removed by the author.
ReplyDelete