PhilippvK opened a new pull request, #12534: URL: https://github.com/apache/tvm/pull/12534
## Context See Discussion in https://discuss.tvm.apache.org/t/coordination-of-risc-v-integration-in-tvm/13133 ## Summary 1. Update `Dockerfile.ci_riscv` to download RISC-V toolchain and compile Spike simulator (including proxy kernel) - Using SiFives GCC toolchain for Embedded targets (See below) - Two variants of proxy kernel (`pk`, `pk64`) are build to support `rv32gc` as well as `rv64gc` targets 2. Introduce AotTestRunner to use spike in unit tests (currently `rv32gc` only) 3. Enable spike based AoTTestRunner for AoT/CRT related test cases ## Future work I have a followup ready based on this PR, which enable usage of spike for MicroTVM deployment (ProjectAPI Server). ## Questions - Why not use existing CSI-NN GCC toolchain? That toolchain (`Xuantie-900-gcc-linux`) is mainly targeting 64-bit devices capable of running Linux. While it could be used for 32-bit bare metal targets as well (using the `-static` compile flag), it is missing relevant multilib arches, such as `rv32gc+ilp32d` to be usable. Thus, I use Sifives GCC (which does currenlty not support the RVV1.0 extension) - Should we fix the version of spike being build or just use the latest development branch? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
