[Apache TVM Discuss] [Questions] Generating GPU code in TVM (and check out the generated code)

2022-01-08 Thread Yuke Wang via Apache TVM Discuss
Hi I have two more questions > 1) How to specify a customized CUDA codegen when building/compiling the model? > 2) How to output/print the code generated by a customized CUDA codegen? --- [Visit Topic](https://discuss.tvm.apache.org/t/generating-gpu-code-in-tvm-and-check-out-the-generated-

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-08 Thread 吴正彪 via Apache TVM Discuss
OK I solve this problem, it is really stupid. It is caused by my unfamiliarity of clion ide. When I'm using Clion IDE, It will set up a doc called "/cmake-build-debug". It's like our file "/build". However , it lack of the file "config.cmake" ![Screenshot from 2022-01-08 21-27-26|498x438](u

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-08 Thread 吴正彪 via Apache TVM Discuss
![Screenshot from 2022-01-08 20-55-46|690x295](upload://j0VlYRgnI8xD8Z9twER38EaUP09.png) I guess it is my CLION IDE cmake-debug goes wrong? It does not shows that llvm has been found! when I use Ctest build/cpptest in terminal, it is totally ok! no bug, it proves that is caused by IDE cmake-d

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-08 Thread 吴正彪 via Apache TVM Discuss
I want to confirm that I make my LLVM support indeed, so I add a random string in src/target/llvm/llvm_module.cc, and remake TVM, it shows that I do compile with this llvm_module.cc file. pay attention to my compliation process. It recompile llvm_module.cc ![image|560x500](upload://fzTIEjKN9

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-08 Thread 吴正彪 via Apache TVM Discuss
Thanks for your reply! I check the file src/target/llvm/llvm_module.cc, indeed it isn't included. ![image|487x499](upload://wRuTIbWULsCWjZc1kNlxZwoudkS.png) How can I fix it? My LLVM system path is quiet correct, and I do make config.cmake as tutorial. ![image|623x54](upload://xAv5MXltRvV69KZ