mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2019-11-08, 13:53   #1552
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

31×173 Posts
Default

Quote:
Originally Posted by apocalypse View Post
Has anyone successfully gotten this working and have any tips about what I need to do beyond installing the drivers?

Thanks!
Code:
Ubuntu 18.04.3 LTS
4.15.0-66-generic
Radeon R9 290X
Not much of a linux/AMD user myself, but I suggest you check that you have a working install of OpenCL for the AMD gpu, using some other opencl utility.
kriesel is offline   Reply With Quote
Old 2019-11-09, 01:54   #1553
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

2×5×239 Posts
Default

I just pushed another update to mfakto. This update includes the following changes:
  1. Fixed an issue where verbosity was not passed to the valid_assignment() function. If you were trial factoring using the -tf option, the verbosity level would remain at -1 unless -v was the first parameter.
  2. mfakto now detects the FirePro D-series GPUs used in late 2013 Mac Pros. Ideally we want to detect the micro-architecture based on the feature set rather than the device name, so I made a note of it in the to-do file.
  3. Improved the README and the INI file documentation.

Thanks again to kracker for reviewing my code. Additional feedback is always appreciated.

Last fiddled with by ixfd64 on 2019-11-09 at 02:16
ixfd64 is offline   Reply With Quote
Old 2019-11-09, 06:21   #1554
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7·1,373 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
mfakto now detects the FirePro D-series GPUs
Benchmarks to James please!
I was a bit disappointed to see that the benchmark page is missing almost ALL of the 4-digits series of AMD cards..

Last fiddled with by LaurV on 2019-11-09 at 06:21
LaurV is offline   Reply With Quote
Old 2019-11-09, 15:22   #1555
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3×5×227 Posts
Default

But I have estimated performance for all the FirePro cards:
https://www.mersenne.ca/mfaktc.php?filter=firepro

What I really need is a benchmark from a 5700 XT...

Last fiddled with by James Heinrich on 2019-11-09 at 15:22
James Heinrich is offline   Reply With Quote
Old 2019-11-10, 03:27   #1556
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7·1,373 Posts
Default

Well, by 4 digits I meant the RX xxxx that everybody is selling now for 3-4-5 hundred bucks. My guess is they are not so good as the AMD's flagship cards, but much better than the 5xx or their sisters.
LaurV is offline   Reply With Quote
Old 2019-11-10, 04:21   #1557
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

65158 Posts
Default

Quote:
Originally Posted by LaurV View Post
Well, by 4 digits I meant the RX xxxx that everybody is selling now for 3-4-5 hundred bucks. My guess is they are not so good as the AMD's flagship cards, but much better than the 5xx or their sisters.
The only RX xxxx cards I'm aware of is the Radeon RX 5700 (and the 5700 XT).
And as I said, I don't have any benchmarks for any RX 5700 series card, so I don't know how they perform with mfakto. I've asked, but it seems nobody on the forums has one (improbable, but nobody has answered my pleas). So they have a null entry on the performance charts for now until I get a benchmark.
James Heinrich is offline   Reply With Quote
Old 2019-11-21, 08:40   #1558
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

45268 Posts
Default

I just fixed another issue: mfakto would delete the kernel file after compilation if a device number greater than 1 is specified using the -d option. In the original code, mfakto would always try to load the binary data from the first slot regardless of the device number. It should now search the slots until it finds a valid one.
ixfd64 is offline   Reply With Quote
Old 2019-11-22, 18:54   #1559
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

230708 Posts
Default

After searching until I was blue in the face, I have given up and am going to ask basically the same question again.

I was handed a new machine. It has an Intel integrated processor. Specifically an Intel UHD Graphics 630. A while back someone pointed to a version of makto that I could run on my laptop's integrated graphics processor. I think it was on James's Mersenne.ca
I was told it wasn't worth it. But it is beating the CPU on GHz-days/day. Anyone know where I could find this version. I don't have admin rights on it, so I can't run GPU-Z on it.
Uncwilly is offline   Reply With Quote
Old 2019-11-22, 19:42   #1560
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

1101010011012 Posts
Default

Perhaps this one?
https://download.mersenne.ca/mfakto/mfakto-0.12-hd4000

edit: Although based on what Ken says below, you're likely fine with the normal latest-version (0.15-pre6):
https://download.mersenne.ca/mfakto/mfakto-0.15pre6

Last fiddled with by James Heinrich on 2019-11-22 at 22:29
James Heinrich is offline   Reply With Quote
Old 2019-11-22, 22:00   #1561
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

31×173 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
After searching until I was blue in the face, I have given up and am going to ask basically the same question again.

I was handed a new machine. It has an Intel integrated processor. Specifically an Intel UHD Graphics 630. A while back someone pointed to a version of makto that I could run on my laptop's integrated graphics processor. I think it was on James's Mersenne.ca
I was told it wasn't worth it. But it is beating the CPU on GHz-days/day. Anyone know where I could find this version. I don't have admin rights on it, so I can't run GPU-Z on it.
Mfacto v0.15pre6 does a fine job of getting about 18GHD/day out of it. IF the Intel OpenCl driver is in place. I have a UHD630 running now, in the same system as mfaktc 0.21 keeps the GTX1050Ti busy. There is a hit on prime95 performance though, because the Intel cpu and Intel IGP are sharing a combined TDP power limit, and also memory. It also requires patience.
Code:
[Sun Nov 10 17:14:39 2019]
UID: kriesel/peregrine-uhd630, no factor for M94188673 from 2^75 to 2^76 [mfakto 0.15pre6-Win cl_barrett32_76_gs_2]
took 4 days nonstop.
The mfakto.ini says
Code:
# Different GPUs may have their best performance with different kernels
# Here, you can give a hint to mfakto on how to optimize the kernels.
#
# Possible values:
# GPUType=AUTO             try to auto-detect, if that does not work: let me know
# GPUType=GCN              Tahiti et al. (HD77xx-HD79xx), also assumed for unknown devices.
# GPUType=VLIW4            Cayman (HD69xx)
# GPUType=VLIW5            most other AMD GPUs (HD4xxx, HD5xxx, HD62xx-HD68xx)
# GPUType=APU              all APUs (C-30 - C-60, E-240 - E-450, A2-3200 - A8-3870K) not sure if the "small" APUs would work better as VLIW5.
# GPUType=CPU              all CPUs (when GPU not found, or forced to CPU)
# GPUType=NVIDIA           reserved for Nvidia-OpenCL. Currently mapped to "CPU" and not yet functional on Nvidia Hardware.
# GPUType=INTEL            reserved for Intel-OpenCL (e.g. HD4000). Not yet functional.
#
# Default: GPUType=INTEL

 GPUType=INTEL
HD4000, HD620, or UHD630 are functional, as are some others that have at least the HD4000's capability.
I think the version James referred to was when the Intel support was added.

Last fiddled with by kriesel on 2019-11-22 at 22:02
kriesel is offline   Reply With Quote
Old 2019-11-22, 22:38   #1562
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

23×1,223 Posts
Default

Quote:
Originally Posted by kriesel View Post
Mfacto v0.15pre6 does a fine job of getting about 18GHD/day out of it. IF the Intel OpenCl driver is in place.
I found an OpenCl.dll or 3 on the machine.
I dl/ed and unzipped the version in question from James's site.
I tried to run it in "PowerShell" and get the following at the output (I trimmed the good.)

Code:
Compiling kernels.

        BUILD OUTPUT

Unrecognized build options: -O3
        END OF BUILD OUTPUT
Error -11 (Build program failure): clBuildProgram
ERROR: load_kernels(0) failed
Uncwilly is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
gpuOwL: an OpenCL program for Mersenne primality testing preda GpuOwl 2718 2021-07-06 18:30
mfaktc: a CUDA program for Mersenne prefactoring TheJudger GPU Computing 3497 2021-06-05 12:27
LL with OpenCL msft GPU Computing 433 2019-06-23 21:11
OpenCL for FPGAs TObject GPU Computing 2 2013-10-12 21:09
Program to TF Mersenne numbers with more than 1 sextillion digits? Stargate38 Factoring 24 2011-11-03 00:34

All times are UTC. The time now is 20:10.


Fri Jul 16 20:10:01 UTC 2021 up 49 days, 17:57, 1 user, load averages: 2.05, 2.25, 2.25

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.