Go Back > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Thread Tools
Old 2016-03-16, 19:06   #1
Rodrigo's Avatar
Jun 2010

16468 Posts
Default Running CUDA on non-Nvidia GPUs

I just came across the following and thought that it might be of interest:

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

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 is offline   Reply With Quote
Old 2016-03-17, 22:33   #2
TheJudger's Avatar
Mar 2005

45716 Posts

my bet: best case it runs much slower than mfakto.
TheJudger is offline   Reply With Quote
Old 2016-05-10, 16:15   #3
diep's Avatar
Sep 2006
The Netherlands

70410 Posts

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.

Last fiddled with by diep on 2016-05-10 at 16:19
diep is offline   Reply With Quote
Old 2016-05-17, 05:43   #4
bayanne's Avatar
"Tony Gott"
Aug 2002
Yell, Shetland, UK

3×107 Posts

Has anyone compiled mfakto for use on a Mac?
bayanne is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
ECM for CUDA GPUs in latest GMP-ECM ? Karl M Johnson GMP-ECM 506 2020-12-29 16:45
ubuntu-15.10 nvidia-355 driver fails to detect two dissimilar GPUs fivemack GPU Computing 9 2015-11-18 12:55
Cuda-Z for nvidia and radeon ET_ GPU Computing 0 2013-11-20 11:38
ECM projects @ Nvidia GPUs Karl M Johnson Factoring 2 2010-07-25 15:50
NVIDIA CUDA C toolkit for G80 GPU available dsouza123 Programming 2 2007-02-18 12:50

All times are UTC. The time now is 07:14.

Sun May 9 07:14:48 UTC 2021 up 31 days, 1:55, 0 users, load averages: 2.98, 2.78, 2.60

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.