CMAKE Error during tvm installation


#1

Hi all,

When I’m installing tvm with llvm-6.0.1 and set set(USE_CUDA ON), set(USE_CUDA ON and set(LLVM_DIR E:/llvm-6.0.1.src/mybuilddir/lib/cmake/llvm), some error occur:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_CUDNN_LIBRARY
linked by target “tvm” in directory E:/tvm
linked by target “tvm_topi” in directory E:/tvm
linked by target “tvm_runtime” in directory E:/tvm

How can I fix it? Thx


#2

should be path to the executable llvm-config, not llvm folder