mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   mfakto: an OpenCL program for Mersenne prefactoring (https://www.mersenneforum.org/showthread.php?t=15646)

kriesel 2019-11-08 13:53

[QUOTE=apocalypse;529983] 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
[/CODE][/QUOTE]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.

ixfd64 2019-11-09 01:54

I just pushed another update to mfakto. This update includes the following changes:
[LIST=1][*]Fixed an issue where verbosity was not passed to the [C]valid_assignment()[/C] function. If you were trial factoring using the [C]-tf[/C] option, the verbosity level would remain at -1 unless [C]-v[/C] was the first parameter.[*]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.[*]Improved the README and the INI file documentation.[/LIST]
Thanks again to kracker for reviewing my code. Additional feedback is always appreciated.

LaurV 2019-11-09 06:21

[QUOTE=ixfd64;530076]mfakto now detects the FirePro D-series GPUs[/QUOTE]
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.. :sad:

James Heinrich 2019-11-09 15:22

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

What I [b]really[/b] need is a benchmark from a 5700 XT...

LaurV 2019-11-10 03:27

Well, by 4 digits I meant the [B][U]RX[/U][/B] 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.

James Heinrich 2019-11-10 04:21

[QUOTE=LaurV;530161]Well, by 4 digits I meant the [B][U]RX[/U][/B] 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.[/QUOTE]The only [url=https://www.mersenne.ca/mfaktc.php?filter=rx]RX xxxx cards[/url] I'm aware of is the Radeon RX 5700 (and the 5700 XT).
And as I said, I don't have [i]any[/i] benchmarks for any RX 5700 series card, so I don't know how they perform with mfakto. I've asked, but it seems [i]nobody[/i] 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. :sad:

ixfd64 2019-11-21 08:40

I just fixed another issue: mfakto would delete the kernel file after compilation if a device number greater than 1 is specified using the [C]-d[/C] 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.

Uncwilly 2019-11-22 18:54

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.

James Heinrich 2019-11-22 19:42

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

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

kriesel 2019-11-22 22:00

[QUOTE=Uncwilly;531265]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.[/QUOTE]
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]
[/CODE] 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[/CODE]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.

Uncwilly 2019-11-22 22:38

[QUOTE=kriesel;531281]Mfacto v0.15pre6 does a fine job of getting about 18GHD/day out of it. IF the Intel OpenCl driver is in place.[/QUOTE]
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[/CODE]


All times are UTC. The time now is 13:00.

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