I got it working in termux just by installing opencl-vendor-driver, opencl-headers, opencl-clhpp, ocl-icd, clinfo and setting export LD_LIBRARY_PATH=/system/vendor/lib64:$LD_LIBRARY_PATH.
I tried to create icd file with link to /system/vendor/lib64/libOpenCL.so manually but it didn't work. opencl-vendor-driver has some magic with copying and patching vendor libOpenCL.so, maybe this helps somehow.
I got it working in termux just by installing
opencl-vendor-driver, opencl-headers, opencl-clhpp, ocl-icd, clinfo
and settingexport LD_LIBRARY_PATH=/system/vendor/lib64:$LD_LIBRARY_PATH
.I tried to create
icd
file with link to/system/vendor/lib64/libOpenCL.so
manually but it didn't work.opencl-vendor-driver
has some magic with copying and patching vendorlibOpenCL.so
, maybe this helps somehow.