Odroid N2 : (portable-)opencl
OpenCL (CPU/GPU) on the Odroid N2:
# update the repos
apt update
# install git for testing code
apt install git
# outputting hardware
apt install clinfo
# get the dev files
apt install ocl-icd-opencl-dev
# actual icd for the cpu
apt install pocl-opencl-icd
# and finally make the driver available
echo "/usr/lib/aarch64-linux-gnu/libmali.so" > /etc/OpenCL/vendors/mali.icd
Now test if the output shows Mali-G52
and pthread-cortex-a53
clinfo | grep "Device Name"
Device Name Mali-G52
Device Name pthread-cortex-a53