Created by: Superjomn
Make model_optimize_tool
work on the host device.
- add an AST parser written in Python to generate fake kernels for the tool
The tool works as follows:
- collect a list of all the source files in the cmake
add_kernel
function, - generate the fake kernels according to the source list,
- compile the
model_optimize_tool
sperately.
TODO
Recover the following tests:
- model_optimize
- gen_code