Build OpenCV with CUDA support

前端 未结 8 1228
-上瘾入骨i
-上瘾入骨i 2020-12-29 05:55

Im use CMake to generate visual studio 2013 solution. Next im try to build it, but get follow error:

Building NVCC (Device) object modules/core/CMakeFile

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-29 06:17

    You should set with cmake these entries CUDA_ARCH_BIN = 3.2 and CUDA_ARCH_PTX = 3.2

    Hope it helps.

    Regards

提交回复
热议问题