mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   Running CUDA on non-Nvidia GPUs (https://www.mersenneforum.org/showthread.php?t=21113)

Rodrigo 2016-03-16 19:06

Running CUDA on non-Nvidia GPUs
 
I just came across the following and thought that it might be of interest: [URL]http://www.extremetech.com/computing/224599-gpu-computing-breakthrough-cloud-rendering-company-claims-to-run-cuda-on-non-nvidia-gpus[/URL]

Of course, I wouldn't be surprised to learn that it's old news to people here. :smile:

If one could run MFAKTC on an AMD card, it might be interesting to learn whether it would run faster, slower, or about as fast as MFAKTO on the same card.

Rodrigo

TheJudger 2016-03-17 22:33

my bet: best case it runs much slower than mfakto.

diep 2016-05-10 16:15

Rodrigo - architecture of AMD cards versus Nvidia cards is different.

At Nvidia the 32x32 == 64 bits (requiring 2 instructions) is very fast starting at Fermi compared to AMD which historically is very fast for 24x24 bits == 24 bits in unsigned integers.

At AMD you run their OpenCL stuff (avoiding the word crap).

There is a special mfockt version that runs on AMD. Forgot exact name will be 1 letter difference from the nvidia thing.

So it's a total different implementation doing exactly the same thing as other instructions in other combinations is a lot faster at AMD than what is faster at Nvidia.

edit: if you wonder about timing details, at nvidia a 32x32 bits multiplication that gives the high bits requires at AMD 4 units to produce the result (6000+ and 7000+ generation). You could see that arguably as 4 times slower (of course the AMD has more units let's not forget about that).

Newer Nvidia's are doing something in between the old Fermi and what AMD is doing for 64 bits double precision. Not clear to me how they solve 32 bits multiplications nowadays.

bayanne 2016-05-17 05:43

Has anyone compiled mfakto for use on a Mac?


All times are UTC. The time now is 02:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.