MilkyWay on ARM Mali T-628 GPU
MilkyWay on ARM Mali T-628 GPU
log in

Advanced search

Message boards : Application Code Discussion : MilkyWay on ARM Mali T-628 GPU

Author Message
Profile [B@P] Daniel
Send message
Joined: 18 Jun 11
Posts: 2
Credit: 21,860,359
RAC: 0

Message 66677 - Posted: 2 Oct 2017, 22:15:59 UTC
Last modified: 2 Oct 2017, 22:22:59 UTC

I was able to successfully build and run MilkyWay GPU app on ARM Mali T-628, on Odroid XU4 board. First WU has just been completed and validated successfully: http://milkyway.cs.rpi.edu/milkyway/result.php?resultid=2138942517. Mali GPU needed about 100 minutes to complete it. This time could be better if app would support integrated CPU/GPU memory (the same as for Intel GPU), some time could be saved on data copying.

Odroid uses Ubuntu Linux, so building procedure is the same as for x86 Linux. I had small issue with linking with libOpenCL.so because one of last system updates did something bad to it and linker started complaining about missing cl* functions in this lib. I fixed this by replacing this lib with symlink to libmali.so:

cd /usr/lib/arm-linux-gnueabihf/ mv libOpenCL.so libOpenCL.so.broken ln -s libmali.so libOpenCL.so

You also need proper app_info.xml to make it working. I use following one:


Support for other GPU types beside 3 major ones (Nvidia, AMG, Intel) generally works, but there are still some issues there - see https://github.com/BOINC/boinc/issues/1686. For some reason BOINC Clienr sees two instances of Mali GPU, but uses only 1st one. Recently I was running Xansons for COD on this GPU, and my BOINC Client build very long work queue. My work queue for MilkyWay so far looks good (12 tasks waiting), will see if it will remain on this level or start growing significantly.

Bazsó-Dombi András
Send message
Joined: 7 Dec 12
Posts: 1
Credit: 111,080
RAC: 0

Message 66878 - Posted: 23 Dec 2017, 13:11:12 UTC

Daniel, could you please put together some steps on how to compile MilkyWay on Odroid XU4 to make it use the GPU?
Also, you showed us that you use this special app_info.xml, what is this xml file used for and where should it be located?

Sorry for the noob questions. I would very much like to put my XU4's GPU to work, but I haven't got the slightest idea whatsoever how to do it. I searched and searched the internet for instructions, but there don't seem to be any :(

Post to thread

Message boards : Application Code Discussion : MilkyWay on ARM Mali T-628 GPU

Main page · Your account · Message boards

Copyright © 2018 AstroInformatics Group