microsoft / nnfusion

A flexible and efficient deep neural network (DNN) compiler that generates high-performance executable from a DNN model description.
MIT License
959 stars 163 forks source link

[BUG] The build script of the generated code does not copy Constant/ folder to the build path #360

Open xysmlx opened 2 years ago

xysmlx commented 2 years ago

🐛 Bug

The build script of the generated code does not copy Constant/ folder to the build path, resulting in errors of the generated main_test program when build the generated code in another folder (e.g., nnfusion_rt/cuda_codegen/build, nnfusion_rt/cpu_codegen/build) instead of the root path of the generated folder (i.e., nnfusion_rt/cuda_codegen, nnfusion_rt/cpu_codegen).