[Unity]How to support for new cpu backend?

Hi All,

New relax and unity flow impress me so much, and I want to introduce a new CPU backend with unity flow, What do I need to do?

1. Intro to new CPU backend

We develop a new cpu ip based on risc-v, it supports for matrix instruction(is similar to vector instruction). Matrix intrinsic is also supported.

2. What have I done?

Firstly, I have navigated relax design and learn the lectures mlc by @tqchen. But I still have no ideas to support a new backend.

3. What do I want to implement?

  • generate matrix intrinsic implementation of ops with unity flow
  • support for call external library for some ops
  • auto-tuning ops with meta-schedule(how to build cost model or get feedback with simulator?)

Based on the above description, what may I need to do to achieve these functions? Please give me some clues, thank you very much!

@tqchen @Hzfengsy

1 Like