1. Download the CUDA driver, toolkit and SDK samples from here: Get CUDA
2. Install the packages. The default location for the SDK is
3. Update your .profile or .bash_profile with the following lines:
4. Now the SDK comes with sample projects. If your Mac does not have a CUDA supported GPU, you can build the sample projects using the emulation mode.
cd /Developer/CUDA
make emu=1
All the binaries will be located in the folder
/Developer/CUDA/bin/darwin/emurelease
Have fun with the sample projects. I shall soon post my first CUDA program.
No comments:
Post a Comment