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

posted @ 2016-08-03 11:32  ahuo  阅读(579)  评论(0编辑  收藏  举报