Mapping OpenBlas to a custom Matrix Accelerator #5015
-
Hi, Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Have you checked the (somewhat optimistically named) "Developer manual" in the Wiki (or its equivalent https://github.com/OpenMathLib/OpenBLAS/blob/develop/docs/developers.md in the sources) ? This provides a brief sketch of how to get started when you want to support a new cpu or architecture. (Among other things, there is a set of plain C kernels that should work on any generic architecture you can find a C compiler for, this has been used e.g. to implement the C-Sky cpu "support" we currently have) |
Beta Was this translation helpful? Give feedback.
Have you checked the (somewhat optimistically named) "Developer manual" in the Wiki (or its equivalent https://github.com/OpenMathLib/OpenBLAS/blob/develop/docs/developers.md in the sources) ? This provides a brief sketch of how to get started when you want to support a new cpu or architecture. (Among other things, there is a set of plain C kernels that should work on any generic architecture you can find a C compiler for, this has been used e.g. to implement the C-Sky cpu "support" we currently have)
You will probably want to replace the GEMM and or GEMV kernels of the underlying architecture with ones that move data to and from your coprocessor. These reside in
kernel/<architecture>
like…