jbuzar
Posts: 3
Joined: Tue May 25, 2021 7:56 pm

opencl for RPI4 / CM4?

Tue May 25, 2021 8:08 pm

Is there any progress on opencl for RPI4 / CM4? We did an SDR board for CM4 and would like to run some DSP stuff on the GPU.
JB

User avatar
Gavinmc42
Posts: 7501
Joined: Wed Aug 28, 2013 3:31 am

Re: opencl for RPI4 / CM4?

Fri May 28, 2021 10:18 am

Not as far as I know. Yet.

Doe300 did a cut down version for the VC4 years ago.
https://github.com/doe300?tab=repositories
Hmm, still working on it recently.

Compute Shaders are supposed to work.
https://blogs.igalia.com/apinheiro/cate ... pberry-pi/

And there is this Python stuff
https://github.com/Idein/py-videocore6

Just upgraded to Kernel 5.10.39 and Mesa 21.1.1.
Not sure what that gives me yet.
Lots of release notes to read.

Was reading an interview with Eben, 2021 will be a software focus year mainly do to chipaggeddon.
Lots of things to do, maybe Vulkan 1.1, OpenGLES 3.2, OpenXR, OpenVG 1.1 Lite, OpenVX, OpenCL?
I suspect OpenCL won't increase the performance much but any little improvement helps.
It also brings it in line with other mainstream chips.
Those sorts of thing push the Pi up the Desktop usability curve.

Software does not rely on chip supplies.
They are selling as much existing Pi stuff as they can make.
Mind you, designing new chips is software based ;)
Whack some AI/ML/NN cores into the next Pi?
They got some experience with the 2 x PIO on the Pico.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

stasek0
Posts: 1
Joined: Tue Jun 08, 2021 9:35 am

Re: opencl for RPI4 / CM4?

Tue Jun 08, 2021 9:50 am

From what i see now:
Clinfo runs. Complains about not having VK_KHR_driver_properties and not having VK_EXT_calibrated_timestamps but runs.
Mixbench only yells about not having VK_KHR_16bit_storage and exits.
There is a little progress but not much.
Tested on clvk + mesa 21.2-devel.

Return to “Graphics programming”