[Apache TVM Discuss] [Questions] What is ‘target’ in TVM?

2021-12-18 Thread Andrew Reusch via Apache TVM Discuss
[quote="sho, post:10, topic:11682"] it means you get C code(not objects or executables compiled by LLVM) anyway right? [/quote] Yes. However, the main reason we suggest the C route right now is because of some cleanup we need to do around AOT code generation. It should be possible to use LLVM

[Apache TVM Discuss] [Questions] What is ‘target’ in TVM?

2021-12-18 Thread sho via Apache TVM Discuss
[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]

[Apache TVM Discuss] [Questions] What is ‘target’ in TVM?

2021-12-18 Thread sho via Apache TVM Discuss
Hi @areusch, Thank you so much. LLVM is getting clear to me. [quote="areusch, post:7, topic:11682"] [quote="sho, post:5, topic:11682"] As you probably know, I was confused about LLVM, and how it is used. So LLVM is used to build TVM compiler. LLVM also works when you input your model into TVM