Imagine Nation Forums
Cuda - Printable Version

+- Imagine Nation Forums (https://in-uo.net/forums)
+-- Forum: Imagine Nation (https://in-uo.net/forums/forumdisplay.php?fid=3)
+--- Forum: Off-Topic (https://in-uo.net/forums/forumdisplay.php?fid=8)
+--- Thread: Cuda (/showthread.php?tid=5851)



Cuda - Mito - 07-30-2012

Does anyone know how to compile CUDA on linux/mac using CPU architecture instead of a Nvidia GPU?

I cannot make "nvcc" compile properly.


Cuda - Bobafett - 07-30-2012

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.


Cuda - Cana - 07-30-2012

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? Big Grin


Cuda - Mito - 07-31-2012

Bobafett Wrote: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


Cuda - Cana - 07-31-2012

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.