Closed oscarbg closed 6 years ago
A closed-source OpenCL implementation was provided for our Baytrail and Cherrytrail platforms.
NEO code can be ported and cross-compiled for Android systems. It is our long-term intention to offer that option.
Hi @AdamCetnerowski , about Android development . I have a development board with Apollo Lake cpu and Iris graphics 500 GPU Android 8.1 . no libOpenCL.so found . Can I use this project for OpenCL development my projects? Thanks
Yes, with following caveats:
@AdamCetnerowski, It seems that https://github.com/intel/intel-graphics-compiler do not support cross compilation for Android at all.
Wow, looks like we did it. I can share a docker with full set of instructions this week.
@dimitryn, May I ask you to test experimental build of compute-runtime for Android x86 from here: https://github.com/dkurt/compute-runtime-android? Looking forward for feedback.
Hi, I say that because altough I newer owned an Android device with x86 processor either tablet or phone, seems Intel provided OpenCL support on these devices.. even I seem to remember that some year ago Intel shipped Android opencl library and info on linking it with Intel Compiler for Android or/and some Intel OpenCL SDK version.. anyway I believe this devices used similar closed source binary components similar to say Windows driver at the time.. anyway now Android-IA efforts seem to have moved towards open source stack using Mesa as graphics driver component of Android-IA.. as Mesa has CLOVER OpenCL driver which is very "unadvanced" to say it cleanly, Intel users have beignet option and has had support for Android at least for a couple of years: https://cgit.freedesktop.org/beignet/log/?qt=grep&q=android https://cgit.freedesktop.org/beignet/commit/?id=be0ae741a9064cebf5b5c9a277ae895086bdbddd "docs/howto/android-build-howto.mdwn" In the case I'm interested is on Android x86 ISOs for PC/laptops we have modern releases like: http://www.android-x86.org/releases/releasenote-7-1-r1 which using Mesa and VAAPI expose OpenGL ES 3.2 and HW accelerated video decode (encode?) on computers with modern Intel HD graphics running this Android-x86 ISOs.. lastly if not enough very recently have started appearing builds with Vulkan support also.. using Mesa ANVIL driver.. support is very early for Vulkan only VulkanCapsViewer works.. graphical demos or apps with Vulkan support like PPSSPP emulator still have issues.. this builds are Android 8.1 (Oreo) experimental builds provided by @maurossi here: https://drive.google.com/drive/folders/0B_OFHiIqgpSFTFpkQWc1eXV3ME0 which ship with latest kernel 4.16rc1+Mesa18.1dev using LLVM6.0 for amdgpu DC.. sadly still have yet to see any of this ISOs to integrate beignet OpenCL driver as, altough Google doesn't officially ship/endorse OpenCL on his phones, many (ARM64) devices ship with modern OpenCL drivers.. for example Xiaomi with modern Qualcomm SOCs and say Adreno 5xx have OpenCL2.0 support).. of course there are also apps on the Play store so Google isn't blocking them either (for example Geekbench Compute non free version has OpenCL support similar to Compubench CL app)..
sorry for long story.. all it was done to motivate Neo devs to include also Android-IA (Android-x86 or call you what you want) support for this new driver and a possible build guide to integrate this NEO OpenCL driver on the standard Android-x86 ISO build process so some ISOs can start appearing supporting: OpenGL ES3.2+Vulkan+OpenCL2.x.. basically all APIs..
also not related to you but some Intel Android devs or Intel Mesa dev should try to enable full OpenGL on Android.. Nvidia does this already on his Android devices Shield tablet and TV so not asking something from other world.. of course full OpenGL support it's provided already by Intel Mesa driver we only need keeping it builded also for Android-IA and that should align perfectly with new Wine for Android project (https://dl.winehq.org/wine-builds/android/):
extracted from private communication with Mauro Rossi:
from earlier private communication: