opencv cuda TK1 TX1 兼容设置

cmake设置

CUDA_ARCH_BIN 3.2 5.2

CUDA_ARCH_PTX 3.2 5.2

否则报一下错误:

OpenCV Error: Gpu API call (NCV Assertion Failed: cudaError_t=18, file=opencv-3.1.0/modules/cudalegacy/src/cuda/NPP_staging.cu, line=338) in NCVDebugOutputHandler

Device 0: "NVIDIA Tegra X1"
CUDA Driver Version: 7.5
CUDA Capability Major/Minor version number: 5.3

上一篇:2014江西理工大学C语言程序竞赛高级组


下一篇:Swift—do-try-catch错误处理模式-备