aidlearning / AidLearning-FrameWork

🔥🔥🔥AidLearning is a powerful AIOT development platform, AidLearning builds a linux env supporting GUI, deep learning and visual IDE on Android...Now Aid supports CPU+GPU+NPU for inference with high performance acceleration...Linux on Android or HarmonyOS
https://docs.aidlux.com
Other
5.55k stars 704 forks source link

How to add support OpenCL #177

Closed Saikatsaha1996 closed 3 years ago

Saikatsaha1996 commented 3 years ago

My device XIAOMI MI 10T In my mobile already available OpenCL driver libOpenCL.so After installing this software can't find libOpenCL.so How can it support OpenCL?

Help wanted Thank you

aidlearning commented 3 years ago

aid have support OpenCL default. you can using tflite_gpu module which merged OpenCL to calling the gpu of the arm ...pls ref the /home/examples-gpu/ in the aid

Saikatsaha1996 commented 3 years ago

aid have support OpenCL default. you can using tflite_gpu module which merged OpenCL to calling the gpu of the arm ...pls ref the /home/examples-gpu/ in the aid

Thank you for your response Actually my gpu Adreno 650, OpenCL 2.0 supported.. And I wand to implement my Vendor OpenCL to aid learning...

Saikatsaha1996 commented 3 years ago

aid have support OpenCL default. you can using tflite_gpu module which merged OpenCL to calling the gpu of the arm ...pls ref the /home/examples-gpu/ in the aid

Please see this.. about my problem.. libOpenCL.so available but Clinfo showing number of platform 0 Screenshot_20210725-223219

Screenshot_20210725-223159

Saikatsaha1996 commented 3 years ago

aid have support OpenCL default. you can using tflite_gpu module which merged OpenCL to calling the gpu of the arm ...pls ref the /home/examples-gpu/ in the aid

Please see this... I am trying to compile libOpenCL.so file Cp dynamic library libopencl.so to aid learning But when I Compile getting error like this any solution ? IMG_20210725_233738

aidlearning commented 3 years ago

Sorry,OpenCL compile method in aid is now ready for open...