Install OpenCL on Raspberry Pi with Raspbian Stretch OS
Install Ubuntu OS
Install OpenCL using vc4cl-stdlib-0.4-Linux.deb
, which is avaiable from https://github.com/doe300/VC4C/releases
https://abhitronix.github.io/2019/01/15/VC4CL-1/
sudo apt install git g++ cmake pkg-config clang-format
git clone https://github.com/doe300/VC4CL.git
cd VC4CL
cmake ..
make
sudo make install
# To the issue "Number of platforms 0", you should do the following configuration
# Manual configuration: Create a file /etc/OpenCL/vendors/VC4CL.icd with a single line containing the absolute path to the VC4CL library (/usr/local/lib/libVC4CL.so).
执行vi .bashrc,弹出profile文本文件,在最后加入下面的代码
export LD_PRELOAD=/usr/local/lib/libVC4CL.so
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
source .bashrc
clinfo
Download Raspbian Stretch
I believe you are looking for an older download version of Stretch rather than the smart arse answer :
Older download version of Raspberry Pi OS
64bit version of Raspberry Pi OS
This gives all previous versions released if you don’t want buster at the moment.it doesn’t however give an option including recommended software although that’s easily resolved once booted