colonist4

Results 4 comments of colonist4

The makefile try to find libOpenCL.so from OPENCL_ROOT and your system library folders. You should copy libOpenCL.so from android device via adb shell, and put that in OpenCL-Headers folder. Then...

@liam-mceneaney The build instructions in [android example readme](https://github.com/ggerganov/whisper.cpp/tree/ac283dbce7d42735e3ed985329037bf23fe180aa/examples/whisper.android) contains both "CLBlast.so build" and "android application build". So may it makes you confused. This ``` GGML_CLBLAST=ON CLBLAST_HOME=/path/to/CLBlast OPENCL_LIB=/path/to/libOpenCL.so OPENCL_ROOT=/path/to/OpenCL-Headers ``` And...

@samolego The android ndk requires using LLVM compiler since NDK r17 (maybe?) so the android studio try to compile all related sources with NDK's LLVM compiler. The main issue is...

@liam-mceneaney I'm not using adreno, so i don't know whether libGLESv2_adreno.so works for building CLBlast. But it seems like @samolego knows whether it is. The comment https://github.com/CNugteren/CLBlast/issues/537#issuecomment-2051184157 may help you,...