Yes, what you guessed is exactly correct!
I am trying to build a handed down from internet. The cource code is made up of many libraries including CUDA.
I can build CUDA sampler code in /usr/local/cuda-6.0/samples/ successfully, and the built code can also be executed correctly.
After I installed CUDA 6.0 on my ubuntu, I can build OpenCV 2.4.8 correctly.
From above experiments, I can ensure CUDA is correctly installed on my ubuntu, and I know how to set the default CUDA path.
The code I downloaded can also be built correctly. The problem I encountered is that some cudaMem related issues happened during linking.
In the code I downloaded, there are some other paths related with CUDA4.0. The paths are different with CUDA 6.0. I don’t know how to find the corresponding paths for them on CUDA 6.0.
In the CMakeLists.txt file of my code, I can’t find the paths listed above on CUDA 6.0.
Where are they on CUDA 6.0?