gemini-code-assist[bot] commented on code in PR #19915:
URL: https://github.com/apache/tvm/pull/19915#discussion_r3497448827
##########
python/tvm/target/tag_registry/riscv_cpu.py:
##########
@@ -71,3 +71,14 @@ def _register_riscv_tag(name, config):
"mabi": "lp64d",
},
)
+
+_register_riscv_tag(
+ "riscv/spacemit-k3",
+ {
+ "num-cores": 8,
+ "mtriple": "riscv64-unknown-linux-gnu",
+ "mcpu": "spacemit-x100",
Review Comment:

The SpacemiT K3 SoC is based on the SpacemiT X60 CPU core. LLVM supports
'-mcpu=spacemit-x60', but there is no 'spacemit-x100' CPU target in LLVM. Using
'spacemit-x100' will cause LLVM compilation to fail with an unknown CPU error.
Please update 'mcpu' to 'spacemit-x60'.
```suggestion
"mcpu": "spacemit-x60",
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]