Commit 66dba763 authored by Yuxuan Hu's avatar Yuxuan Hu Committed by LeiWang1999
Browse files

[Refactor] set USE_LLVM to optional. (#476)

parent 3f25bd1b
...@@ -133,7 +133,7 @@ Copy the configuration file and enable the desired backends (e.g., LLVM and CUDA ...@@ -133,7 +133,7 @@ Copy the configuration file and enable the desired backends (e.g., LLVM and CUDA
mkdir build mkdir build
cp 3rdparty/tvm/cmake/config.cmake build cp 3rdparty/tvm/cmake/config.cmake build
cd build cd build
echo "set(USE_LLVM ON)" >> config.cmake # echo "set(USE_LLVM ON)" # set USE_LLVM to ON if using LLVM
echo "set(USE_CUDA ON)" >> config.cmake echo "set(USE_CUDA ON)" >> config.cmake
# or echo "set(USE_ROCM ON)" >> config.cmake to enable ROCm runtime # or echo "set(USE_ROCM ON)" >> config.cmake to enable ROCm runtime
cmake .. cmake ..
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment