New OpenCL application for AMD GPUs


Message boards : News : New OpenCL application for AMD GPUs

Message board moderation

To post messages, you must log in.
1 · 2 · 3 · Next
AuthorMessage
Profile Georgi Vidinski
Volunteer moderator
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 22 Nov 17
Posts: 159
Credit: 13,180,466
RAC: 18
Message 7970 - Posted: 16 Sep 2023, 15:15:42 UTC
Hi everyone,

We are proud to announce our new OpenCL applications for AMD GPUs!
Development process took some time but we finally managed to build it.
There are still many rough edges to be polished but thanks to you guys and to your feedback we'll continue to improve the code.

Linux application requires 64 bit OS with GLIBC v2.31 or higher and will run on most AMD Radeon GPU cards and some AMD Integrated Graphics with support of OpenCL 1.1 or higher.

Windows application requres 64bit Windows 10 or 11 and will run on most AMD Radeon cards and some AMD Integrated Graphics with support of OpenCL 1.2 or higher.

Happy crunching and thank you for your support!

Asteroids@home team
ID: 7970 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Simon Jäkle

Send message
Joined: 11 Sep 12
Posts: 12
Credit: 5,797,631
RAC: 0
Message 7989 - Posted: 17 Sep 2023, 8:11:39 UTC - in response to Message 7970.  
This is exciting or awesome, i am participating in/for boinc/asteroids since 2012 , never really managing to get parallel tasks on some personal computer, as if some "technical curse" weighed heavy on me or my system. Having spotted how your work starts to run since about september 14th is like a (demon rearranging) spellbreak, i will observe how(e) the crunching points will develop. A profond thank you, and a chapeau for my impression of some coolest progress occuring since quite a while.
ID: 7989 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Lamberto Vitali

Send message
Joined: 14 Jun 23
Posts: 76
Credit: 5,914
RAC: 0
Message 7990 - Posted: 17 Sep 2023, 8:36:44 UTC - in response to Message 7989.  
What do you mean you can't get parallel tasks? Your Ryzen computer has plenty RAM and a decent graphics card. Are you unable to get more than one Asteroids running at a time on the CPU?
ID: 7990 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Weber462

Send message
Joined: 25 Oct 22
Posts: 15
Credit: 9,511,573
RAC: 22,885
Message 7991 - Posted: 17 Sep 2023, 10:59:14 UTC - in response to Message 7990.  

Last modified: 17 Sep 2023, 11:20:25 UTC
As far as i know there is no project where you can run more then one WU per core on CPU. If you want to run more then one WU on GPU, you can edit in config file.
ID: 7991 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Weber462

Send message
Joined: 25 Oct 22
Posts: 15
Credit: 9,511,573
RAC: 22,885
Message 7992 - Posted: 17 Sep 2023, 10:59:42 UTC - in response to Message 7970.  
This is awesome! thank you for the work!
ID: 7992 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Lamberto Vitali

Send message
Joined: 14 Jun 23
Posts: 76
Credit: 5,914
RAC: 0
Message 7993 - Posted: 17 Sep 2023, 11:29:38 UTC - in response to Message 7991.  

Last modified: 17 Sep 2023, 11:35:22 UTC
As far as i know there is no project where you can run more then one WU per core on CPU. If you want to run more then one WU on GPU, you can edit in config file.
I assumed he meant more than one work unit per CPU, I wasn't sure what he meant by "never really managing to get parallel tasks on some personal computer".

And of course you can run more than one task per core. Not usually advantageous to do so, but I do it with Theory tasks on LHC, because if they all happen to download masses of data (they do this internally inside the Virtualbox task) at the same time, several cores end up idle. So I run say 30 on a 24 core machine.

    <app_version>
        <app_name>Theory</app_name>
        <plan_class>vbox64_theory</plan_class>
        <avg_ncpus>0.8</avg_ncpus>
    </app_version>
I do the opposite on another machine where Theory tasks, although inly using one core each, tend to hog some kind of resource in the CPU/RAM/something, which slows other stuff down, like me using the web:

    <app_version>
        <app_name>Theory</app_name>
        <plan_class>vbox64_theory</plan_class>
        <avg_ncpus>1.6</avg_ncpus>
    </app_version>
For Nbody tasks on Milkyway, I change both how many cores they're told to run on, and how many they average running on (an instruction to Boinc's scheduler as to how many to run at once). Here I've got a 24 core machine and their default is 16 cores. 16 doesn't fit into 24 too well, so I run three at once, but let them try to take 16, so while one is doing the single core setup at the start, the others can take over the spare cores:

    <app_version>
        <app_name>milkyway_nbody</app_name>
        <plan_class>mt</plan_class>
        <cmdline>--nthreads 16</cmdline>
        <avg_ncpus>8</avg_ncpus>
    </app_version>
ID: 7993 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
magic_sam

Send message
Joined: 16 Nov 22
Posts: 18
Credit: 6,962,168
RAC: 877
Message 7994 - Posted: 17 Sep 2023, 13:48:13 UTC

Last modified: 17 Sep 2023, 13:48:56 UTC
Hi all,

Thank you for this new OpenCL version, really appreciated :)

I must be doing something wrong on my end, because it's not working yet. I have enabled AMD GPU tasks on both my account on asteroidsathome.net/boinc and my account manager (BAM).

I have synchronized my client with BAM and updated the project configuration with boinctui, but still no GPU tasks for my RX 7900 XTX. Actually all references to OpenCL are gone from sched_reply_asteroidsathome.net_boinc.xml, I don't know why...

I'm running Ubuntu 22.04 x86_64 (glibc 2.35).

Could you please give me a hand ?

Best regards,

Samuel
ID: 7994 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ian&Steve C.
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 23 Apr 21
Posts: 70
Credit: 55,959,658
RAC: 539,987
Message 7995 - Posted: 17 Sep 2023, 16:00:52 UTC - in response to Message 7994.  
what does the event log say? is it asking for GPU work? in general projects only give you what the client asks for. so if the client isnt asking, it wont get.

my hunch is that it's something up with the account manager. remove it and see if you get work. if you do then you know BAM is the issue.

ID: 7995 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Georgi Vidinski
Volunteer moderator
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 22 Nov 17
Posts: 159
Credit: 13,180,466
RAC: 18
Message 7997 - Posted: 17 Sep 2023, 17:04:13 UTC
Shooting in the dark, have you tried "Reset project"?
As a final resort you may try and reinstall boinc.
“The good thing about science is that it's true whether or not you believe in it.” ― Neil deGrasse Tyson
ID: 7997 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
magic_sam

Send message
Joined: 16 Nov 22
Posts: 18
Credit: 6,962,168
RAC: 877
Message 7998 - Posted: 17 Sep 2023, 18:14:50 UTC

Last modified: 17 Sep 2023, 18:28:15 UTC
Hello all,

Must have been a transient issue, the latest version of the GPU application just got downloaded and it's currently running :)

I'll keep you all posted.

EDIT: some logs below about one of the first task to complete successfully on my RX 7900 XTX

https://asteroidsathome.net/boinc/result.php?resultid=401627544

Best regards,

Samuel
ID: 7998 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ian&Steve C.
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 23 Apr 21
Posts: 70
Credit: 55,959,658
RAC: 539,987
Message 7999 - Posted: 17 Sep 2023, 18:48:14 UTC - in response to Message 7998.  
what's the power draw for those 6 mins?

ID: 7999 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 35
Credit: 5,395,045
RAC: 61,313
Message 8000 - Posted: 17 Sep 2023, 20:22:37 UTC

Last modified: 17 Sep 2023, 20:32:42 UTC
there are 3 phases, but the main, most power hungry part draws
140W 1,5Ghz 10m
160W 2,0Ghz 8m
220W 2,5Ghz 7m
300W 3,0Ghz 6m

it's fast for a single unit, but for the overall throughput, it's 3 times less power efficient compared to a modern CPU. With slower cards, the ratio is even worse. Anyway, it's great we can finally test it on AMD cards after all these years :)
ID: 8000 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Lamberto Vitali

Send message
Joined: 14 Jun 23
Posts: 76
Credit: 5,914
RAC: 0
Message 8002 - Posted: 18 Sep 2023, 5:31:52 UTC
Why go by power? The card is gonna draw power for any project. Put it on the project you want to contribute to.
ID: 8002 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 35
Credit: 5,395,045
RAC: 61,313
Message 8006 - Posted: 18 Sep 2023, 8:58:33 UTC
Why go by power? The card is gonna draw power for any project. Put it on the project you want to contribute to.

it depends on what your goals are. For instance, Einstein tasks are 200x faster on a GPU than on a CPU, it's the best-case scenario because their algo is very bandwidth limited (960GB/s on a GPU (7900 xtx) vs ~50GB/s on a CPU (ddr4 dc)), but not all algorithms could be parallelized to utilize a GPU efficiently, it's a different architecture with pros and cons.

also one of the reasons why Milkyway gave up https://milkyway.cs.rpi.edu/milkyway/forum_thread.php?id=4748 it's not an easy task for a complex app.
ID: 8006 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Kodeks IT

Send message
Joined: 31 Oct 17
Posts: 1
Credit: 4,891,873
RAC: 1,823
Message 8008 - Posted: 18 Sep 2023, 16:00:36 UTC
Dear Sirs.
I kindly ask you to remove completely from the Asteroids@Home project a non-optimized application for 32 bit systems: https://asteroidsathome.net/boinc/apps.php
(version 102.10 28 Sep 2013, 13:14:03 UTC).
Look at the page: https://asteroidsathome.net/boinc/apps.php where an unoptimized 32 bit application produces 14 GigaFLOPS.
That is, in fact, that turns out that much users of 32 bit systems are crunching for 6 hours with an unoptimized application. In case you remove it, all users will begin to crunch at sse2/sse3-optimized applications in just 2 hours.
In other words, huge opportunities are being lost doing it!!!
There are no processors without sse2 support for a long time, since 2003 year!!! And if they are where, then no one runs BOINC on them.
ID: 8008 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Lamberto Vitali

Send message
Joined: 14 Jun 23
Posts: 76
Credit: 5,914
RAC: 0
Message 8013 - Posted: 18 Sep 2023, 17:32:02 UTC
The server automatically gives the best task to your computer. Clearly it is better than the sse apps for some processors, or nobody would be getting them. Later is not always better, I've got computers which do sse2 faster than sse3, and computers which do fma faster than avx.
ID: 8013 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
danq

Send message
Joined: 12 Nov 14
Posts: 2
Credit: 130,195
RAC: 0
Message 8047 - Posted: 19 Sep 2023, 23:14:54 UTC
Any plans for NVIDIA?
ID: 8047 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rymorea

Send message
Joined: 25 Nov 14
Posts: 5
Credit: 1,158,599
RAC: 413
Message 8048 - Posted: 19 Sep 2023, 23:25:38 UTC - in response to Message 8047.  
Any plans for NVIDIA?

Lppk at app page there is already there
Microsoft Windows running on an AMD x86_64 or Intel EM64T CPU 102.17 (cuda118_win10)
ID: 8048 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Georgi Vidinski
Volunteer moderator
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 22 Nov 17
Posts: 159
Credit: 13,180,466
RAC: 18
Message 8049 - Posted: 20 Sep 2023, 0:58:39 UTC - in response to Message 8047.  
Any plans for NVIDIA?


Let Me Bing That For You :)
“The good thing about science is that it's true whether or not you believe in it.” ― Neil deGrasse Tyson
ID: 8049 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
danq

Send message
Joined: 12 Nov 14
Posts: 2
Credit: 130,195
RAC: 0
Message 8050 - Posted: 20 Sep 2023, 8:40:36 UTC - in response to Message 8049.  
Any plans for NVIDIA?


Let Me Bing That For You :)


Oh I was thinking of another project that dropped GPU support and thought you were that project bringing GPU support back.

BTW I get a 404 error on that link you sent me
ID: 8050 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
1 · 2 · 3 · Next

Message boards : News : New OpenCL application for AMD GPUs