[quote="areusch, post:8, topic:11682"] [quote="sho, post:6, topic:11682"] If you specify like below, > > ``` > > TARGET = tvm.target.target.micro("stm32f746xx") > > ``` > > > BOARD = “nucleo_f746zg” # or “stm32f746g_disco#” > > ``` > > > > ``` > > > Does it always mean you generate C? [/quote]
Yeah–this is just a shortcut: https://github.com/apache/tvm/blob/main/python/tvm/target/target.py#L323 [/quote] Ok, so if you choose a target among the below list, MICRO_SUPPORTED_MODELS = { "host": [], "atsamd51": ["-mcpu=cortex-m4"], "cxd5602gg": ["-mcpu=cortex-m4"], "esp32": [], "imxrt10xx": ["-mcpu=cortex-m7"], "mps2_an521": ["-mcpu=cortex-m33"], "nrf52840": ["-mcpu=cortex-m4"], "nrf5340dk": ["-mcpu=cortex-m33"], "sam3x8e": ["-mcpu=cortex-m3"], "stm32f746xx": ["-mcpu=cortex-m7", "-march=armv7e-m"], "stm32l4r5zi": ["-mcpu=cortex-m4"], "zynq_mp_r5": ["-mcpu=cortex-r5"], } it means you get C code(not objects or executables compiled by LLVM) anyway right? Could you tell me why this list even exists? As long as I can see, TVM and micro TVM require us to specify 'target', but they don't need to know what the target is for code generation, even when they do AutoTVM. To run some tutorials, since they use zephyr, we need to specify 'target' and 'board'. But this is to let zephyr know what board it flashes the executables to, and on TVM side, the information on 'target' doesn't seem to be used... --- [Visit Topic](https://discuss.tvm.apache.org/t/what-is-target-in-tvm/11682/10) 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/c78a7750d3ce98b6f4d7d8361e30296029857abdf4b463dd7e4ba637bc3fc764).