PDA

View Full Version : Cuda



Mito
07-30-2012, 07:59 PM
Does anyone know how to compile CUDA on linux/mac using CPU architecture instead of a Nvidia GPU?

I cannot make "nvcc" compile properly.

Bobafett
07-30-2012, 09:22 PM
You may just have the wrong source file :

http://www.nvidia.com/content/cuda/cuda-downloads.html

This is a good place to find the right version, they have bash files for all the different distro/cpu arch.

Also make sure you have the right GCC version and the corresponding kernel for the distro you are using.

Cana
07-30-2012, 10:46 PM
I have mainly ATI cards so OpenCL ftw!

If you don't mind me asking, what are you doing with CUDA? Making a new UO server software taking advantage of parallel computing using GPUs? :D

Mito
07-31-2012, 12:00 AM
You may just have the wrong source file :

http://www.nvidia.com/content/cuda/cuda-downloads.html

This is a good place to find the right version, they have bash files for all the different distro/cpu arch.

Also make sure you have the right GCC version and the corresponding kernel for the distro you are using.

Those are the main tools you need to program with CUDA, thats not the issue :p

I think I've found a solution, thank you anyway. http://impact.crhc.illinois.edu/mcuda.aspx

Cana parallel computing its the future so I'm just learning

Cana
07-31-2012, 12:34 AM
Nice, I didn't even know you could use it without Nvidia GPU. I was looking for answer to the same question a while back and found OpenCL instead. You should check that out too. It can take advantage of most ATI and Nvidia GPUs in addition to CPUs.