RAVR
Posts: 4
Joined: Sat Jun 09, 2018 4:23 am

GPU Hardware and/or Software Suggestion

Sat Jun 09, 2018 5:36 am

Hello,

I would like to suggest a hardware change to the RPi that allows for the GPU to act as a NPU using the OpenCL software driver support.

I know that this may be difficult or near impossible but it was a thought.

Thank you for reading my post.

User avatar
DougieLawson
Posts: 33317
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: GPU Hardware and/or Software Suggestion

Sat Jun 09, 2018 7:48 am

YAPP&UT
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

ghans
Posts: 7770
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: GPU Hardware and/or Software Suggestion

Sat Jun 09, 2018 10:52 am

It seems unlikely that the VideoCore IV GPU will ever support the Standard OpenCL profile correctly with great performace.

In the meantime, you can play around with the embedded profile of OpenCL on the Raspberry Pi:

viewtopic.php?t=194952

Both correctness and performance (!) have room for improvement ....

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

mic_s
Posts: 68
Joined: Sun Oct 26, 2014 4:15 pm

Re: GPU Hardware and/or Software Suggestion

Sat Jun 09, 2018 2:45 pm

Lot of options :

option 1 :
viewtopic.php?t=194952
As ghans mentined: room for improvement

In the meantime option 2 may be of value :
https://github.com/mn416/QPULib
(small footprint, easy and ready to run)

When it comes to performance:
option 3 :
https://github.com/nineties/py-videocore
( “QPU-assembler embedded in python”, 5-12$ pi-zero sgemm with up to 8 GFlops )

If you are interested to do experiments in gpu clustering, this very, very low cost pi zero cluster may be one more option :
viewtopic.php?f=49&t=199994

Please note: all current pis use the Videocore IV with 12 dual issue, vector processors.
.

RAVR
Posts: 4
Joined: Sat Jun 09, 2018 4:23 am

Re: GPU Hardware and/or Software Suggestion

Sat Jun 09, 2018 4:08 pm

Thanks! It's going to talk myself a while to digest the information in the post: "OpenCL on the VideoCore IV!" by "doe300".

My hat's off to "doe300" for doing the work to port part of the OpenCL instruction set to the RPi.

RAVR

Return to “Off topic discussion”

Who is online

Users browsing this forum: No registered users and 3 guests