tvmΒΆ

Note

Because of the LLVM + Xcode build issue, the next workaround should be applied:

# config.cmake

if(APPLE AND XCODE)
  hunter_config(
      LLVM
      VERSION
      ${HUNTER_LLVM_VERSION}
      CMAKE_ARGS
      LLVM_BUILD_EXTERNAL_COMPILER_RT=ON
  )
endif()

By default CUDA used on Linux. Example of the travis.yml configuration:

On Android, iOS and Windows only tvm::tvm_runtime will be built.

hunter_add_package(tvm)
find_package(tvm CONFIG REQUIRED)

add_executable(boo boo.cpp)
target_link_libraries(boo PUBLIC tvm::tvm_runtime)