hi @Julien,

Got it. TVM has two runtimes: a C++ runtime (used when OS present and 
referenced in many of our tutorials) and a C runtime (used when OS not present; 
referenced in our microTVM tutorials).

Support for this arrangement isn't complete yet but would fall under microTVM. 
See the [µTVM M2 
roadmap](https://discuss.tvm.apache.org/t/tvm-microtvm-m2-roadmap/8821) item 
11. However, people have used TVM with accelerators and on ARM 
microcontrollers, so there are essentially two parts to this:

1. Get the TVM C runtime working on RISC-V. I believe @dream-math was working 
on this.
2. Implement your accelerator in TVM using 
[Bring-Your-Own-Codegen](https://tvm.apache.org/2020/07/15/how-to-bring-your-own-codegen-to-tvm).

There are also some additional work items which we would like to get to at some 
point to make this process more streamlined and implement runtime optimization 
such as async execution. However, those aren't strictly required to get things 
working.

Let me know if this answers your questions!
Andrew





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/tvm-and-custom-accelerators/9525/4) to 
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/b0db7779f10c2a5912151465f284c599838876c0869fb756e783d32d35eff4e2).

Reply via email to