From af60ff975cbd1c43121cd693064fd54c8eb50cbe Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Mon, 18 Jan 2021 19:00:30 +0800 Subject: [PATCH] feat(lite): add cmake build for lite GitOrigin-RevId: 2424eb2681fddcdfa0d48dd7ceb41cf7e5e7bee3 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 06d5fa71..753843d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -974,3 +974,4 @@ if(MGE_WITH_CUDA AND MGE_CUDA_USE_STATIC AND("${CUDNN_VERSION}" VERSION_GREATER message(WARNING "Static link CUDNN8 with many sm is unworkable, please use -DMGE_WITH_CUDNN_SHARED=ON or -DMGE_WITH_LARGE_ARCHIVE=ON -DMGE_CUDA_GENCODE=\"-gencode arch=compute_70,code=sm_70 arch=compute_75,code=sm_75\" ") message(WARNING "Static link CUDNN8 with many sm is unworkable, please use -DMGE_WITH_CUDNN_SHARED=ON or -DMGE_WITH_LARGE_ARCHIVE=ON -DMGE_CUDA_GENCODE=\"-gencode arch=compute_70,code=sm_70 arch=compute_75,code=sm_75\" ") endif() +