It really depends what you want to do/compute and how far in abstractions you want to delve into performancewise. That link is basically saying that Mathematica can use CUDA to accelerate certain operations as compared to CPU. Be more specific and perhaps others can help.
If you’re proficient in Mathematica already, then yes, that might be the best idea for you. You can also call C/CUDA code via compiled mex files in matlab, or just simple C… or Fortran… whatever you’re most comfortable with.
CUDA is (mainly marketed as) an extension of the C language… If you do not know C, you might want to google a few tutorials to teach yourself how to do basic things like variable manipulation, file input/output, etc. It might be that some CUDA tutorial also emcompasses the basics of C language as well, but I’m not aware of any.
As far as suggestions… set up the CUDA SDK on your PC… and look at the examples given, manipulate them, run other examples, compile your own programs… that’s a good way to learn.
If whatever algorithm you have (or plan to do) benefits from parallelization techniques to speed it up, then CUDA would be a good way to exploit that. For that matter you don’t need to use CUDA, you can also learn OpenCL, which is compatible with both AMD and NVIDIA cards – the basis is the same, it’s an extension of C language to run programs on GPUs and take advantage of the inherent parallelism.
You need to be more explicit as to what errors or issues you’re having. Try starting with running a simple deviceQuery example. If that doesn’t run, it meeans you need a CUDA capable card, most likely – that means pretty much any NVIDIA card released dating back to the G80 architecture or so.
There is probably no problem… the program ran in those 2 or 3 seconds :p
You want to run these from a cmd window that you have already opened up after you have navigated to the samples directory.
As alrikai mentioned you can also use VS to open the code and set breakpoints of your choosing and step through. If you wish to debug kernel code eventually you’ll need Nsight for Visual Studio.
if you dont mind, can you explain the steps of executing cuda program through command prompt, visual studio, nvidia nsight visual studio…( like where should we write the code, execution, where the output is stored?)