2016-08-02 00:11:28 -0600 | received badge | ● Editor (source) |
2016-08-01 23:40:05 -0600 | asked a question | Build Opencv 2.4.11 with Cuda 7.5 problem Hello, The systems I use are Windows 10 with Nvidia Geforce 940M, the compute capability is 5.0. The version of Visual Studio is 2013, Opencv is 2.4.11, and the Cuda's version is 7.5. I use the code fragments below to test if the Opencv with Cuda work successfully.
Some says the return value is false might be the wrong compute capability I set when I built the Opencv with Cuda. But I'm sure I set the CUDA_ARCH_BIN is 5.0 and the CUDA_ARCH_PTX is blank when I built it. Here is the steps I tried.
I don't know if the steps I tried are wrong or not. I have stuck for this problem for a few days and rebuilt the Opencv with Cuda for a few times. Hope someone can help me to handle this problem. Thank you so much! |