cmake设置
CUDA_ARCH_BIN 3.5 5.2
CUDA_ARCH_PTX 3.5 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
时间: 2024-11-06 22:48:57