Skip to content
Snippets Groups Projects
Commit 3f9f95ab authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Bump CMake version to 3.18

parent fe328d16
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.17)
cmake_minimum_required(VERSION 3.18)
project(hpvm CUDA CXX)
get_filename_component(
CUDA_TOOLKIT_ROOT_DIR "${CMAKE_CUDA_COMPILER}/../.." ABSOLUTE
) # Set CUDA_TOOLKIT_ROOT_DIR by our own, to the parent folder of cuda nvcc
message(STATUS "CUDA Architecture: ${CMAKE_CUDA_ARCHITECTURES}")
# find_package will use the auxillary cmake/Find*.cmake we provide
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
......
......@@ -10,7 +10,7 @@
- cuDNN-7.0 or above
- `cmake >= 3.17`
- `cmake >= 3.18`
- `make >= 4`
......
......@@ -56,7 +56,7 @@
- Add rules to /llvm/projects/CmakeLists.txt
- Automate the generation of 'tensor_runtime.ll`
- Add CUDNN, CUDA paths to the template environment setup file
- Move to using Cmake-3.17 (earlier 3.15)
- Move to using Cmake-3.18 (earlier 3.15)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment