派生自 Algorithm/baseDetector

80
Scheaven
2021-06-03 7260fff318f530182fc8bac268edd4f8649ac643
80
1个文件已修改
5 ■■■■■ 已修改文件
CMakeLists.txt 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CMakeLists.txt
@@ -33,7 +33,8 @@
        ./lib/detecter_tools/*.hpp
        ./lib/detecter_tools/*.cuh
        ./lib/detecter_tools/darknet/*.hpp
        ./lib/detecter_tools/darknet/*.cuh)
        ./lib/detecter_tools/darknet/*.cuh
    )
# 检索查找文件信息
file(GLOB sources
@@ -62,7 +63,7 @@
    set(
            CUDA_NVCC_FLAGS
            ${CUDA_NVCC_FLAGS};
            -gencode arch=compute_61,code=sm_61 -std=c++14# 不同GPU有不同的算力指数,可查看算力表
            -gencode arch=compute_80,code=sm_80 -std=c++14# 不同GPU有不同的算力指数,可查看算力表
    )
    set(CUDA_NVCC_FLAGS_RELWITHDEBINFO "--device-debug;-lineinfo")
    #find_package(OpenCV REQUIRED) # 查找系统的默认opencv环境