Skip to content

Mapping OpenBlas to a custom Matrix Accelerator #5015

Answered by martin-frbg
srd8668 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@srd8668
Comment options

Answer selected by srd8668
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants