ARM-software / ComputeLibrary

The Compute Library is a set of computer vision and machine learning functions optimised for both Arm CPUs and GPUs using SIMD technologies.
MIT License
2.82k stars 774 forks source link

How to add a new backend? #1059

Closed DandanXu1007 closed 1 year ago

DandanXu1007 commented 1 year ago

Hi! How to add a new backend? for example riscv.

morgolock commented 1 year ago

Hi @DandanXu1007

A new backend will require major changes to the library, we had an OpenGLES backend which we deprecated and removed.

The following patches removing the GLES backend could give you an idea of the changes required to add a new backend.

https://review.mlplatform.org/c/ml/ComputeLibrary/+/5097 https://review.mlplatform.org/c/ml/ComputeLibrary/+/5314

Hope this helps.