[Apache TVM Discuss] [Questions] [VTA] Question about VTA HLS design

2021-11-22 Thread Eamicheal via Apache TVM Discuss
Hi Jake and KJK, I am currently looking at tracing the time it takes for the data to reach the fetch, load, and compute module, Can you please support with the best approach for this? --- [Visit Topic](https://discuss.tvm.apache.org/t/vta-question-about-vta-hls-design/3858/17) to respon

[Apache TVM Discuss] [Questions] Time Reported by the Virtual Machine Profiler

2021-11-22 Thread Tristan Konolige via Apache TVM Discuss
I'm not really sure what you mean by "actual times". The per op times reported by the profiler are the time it takes to run the op along with the time it takes to start and stop the timer. The overall times ate the end are the time from the start of the model execution to the end, including th

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-22 Thread LK via Apache TVM Discuss
Ummm, it seems too opaque for me. I have to admit that I am not only a beginner to TVM, and a beginner to programming. I will think your reply for a long time. Thank you for your clarification @Mousius --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-pro

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-22 Thread Christopher Sidebottom via Apache TVM Discuss
In the example application I linked, TVM generates C code as the final output format, this includes C sources generated via [the BYOC integration for the microNPU](https://github.com/apache/tvm/blob/main/src/relay/backend/contrib/ethosu/source_module.cc). The C code from TVM is extracted from

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-22 Thread LK via Apache TVM Discuss
hello, in fact, I'm a lot confused by the terminology "C code generation". I wonder whether I can understand that you can generate the C code compiled by GCC. Looking forward to your reply. --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/1

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-22 Thread Christopher Sidebottom via Apache TVM Discuss
Hi @haruhi / @comaniac, [quote="comaniac, post:4, topic:11519, full:true"] TVM does have a C-like codegen, but it generates OpenCL code for non-NVIDIA GPUs. [/quote] The C code generation is also used in microTVM. [Our demo applications for the microNPU](https://github.com/apache/tvm/tree/m