I'm starting to do programming with CUDA C. Are there any IDE that are especially good for programming with it?
I'm using a windows machine and a personal macbook :D (But I want to know what people use in linux and mac also)
Using the CUDA Toolkit you can accelerate your C or C++ applications by updating the computationally intensive portions of your code to run on GPUs. To accelerate your applications, you can call functions from drop-in libraries as well as develop custom applications using languages including C, C++, Fortran and Python.
CUDA C is essentially C/C++ with a few extensions that allow one to execute functions on the GPU using many threads in parallel.
CUDA provides C/C++ language extension and APIs for programming and managing GPUs. In CUDA programming, both CPUs and GPUs are used for computing. Typically, we refer to CPU and GPU system as host and device, respectively.
Definitely the better way to code CUDA in Windows right now is Nsight Visual Studio Edition environment. With the release of CUDA 5, comes also the Nvidia Nsight Eclipse Edition, with the same programming capabilities but with the IDE of Eclipse. Nsight Eclipse Edition is available on Linux and MacOS (but not Windows). You can try it already with the CUDA 5 release candidate : http://developer.nvidia.com/cuda/cuda-toolkit
I've used CUDA 2.1, and VS2008, and haven't had any problems. Just make sure after you install the toolkit and the SDK, that you do the following:
At this point, you should be able to compile the SDK projects; if you are using VS2008, make sure you open the solutions ending in _vc90.sln. Again, if you're on x64, you need to also make sure to set the build platform to "x64" in that drop-down menu.
If you get this far, and you're ready to write your own projects, check out the "template" project that comes with the SDK. You should be able to make a copy of that and use it for your own stuff, with the compiler settings (for CUDA, that is) already set up.
there is a thread on nvidia for this as well http://forums.nvidia.com/index.php?showtopic=91057
In windows you can use NVIDIA Parallel Nsight Visual Studio solution. I think there is no better alternative for GPU development on windows. And Linux + GPU development == SUX
.
There are some attempts to make some Linux distro which would be GPU-development friendly, but given that these are first steps to this goal - I don't expect too much from this product. (Also they have broken links)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With