This repository contains building instructions for Intel's OpenCL for Android x86 OS (64 bit).
NOTE: This is a temporal experimental repository in a preview state. Use provided instructions or built binaries at your own risk.
Official repository: https://github.com/intel/compute-runtime
Download runtime: https://drive.google.com/file/d/1uJr2oq33FAchpF4j8LmVHkai7IzhrLZb/view?usp=sharing
- Build in Docker:
docker build -t intel-opencl intel-opencl
- Copy the binaries:
docker run -v $(pwd):/mnt intel-opencl cp /ocl/intel-opencl-android-x86_64.tar.gz /mnt
You will find an archive in a current working directory.
- On device
- Create a folder
/system/vendor/Khronos/OpenCL/vendors/
and copyintel.icd
to it. - Make sure that the rest of
*.so
libraries are inLD_LIBRARY_PATH
.