Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# <email> quantm@unist.ac.kr kast.jo@googlemail.com msarahan@gmail.com</email>
############################################################################

cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(cs344)

find_package(OpenCV REQUIRED)
Expand All @@ -20,10 +20,8 @@ if(CUDA_FOUND)
# whether to build x64. We tell it to support most devices, though,
# to make sure more people can easily run class code without knowing
# about this compiler argument
set(CUDA_NVCC_FLAGS "
-gencode;arch=compute_30,code=sm_30;
-gencode;arch=compute_35,code=sm_35;
-gencode;arch=compute_35,code=compute_35;")
set(CUDA_NVCC_FLAGS "-gencode;arch=compute_37,code=sm_37;
-gencode;arch=compute_75,code=sm_75,compute_75;")

# add -Wextra compiler flag for gcc compilations
if (UNIX)
Expand Down