Saturday, December 31, 2011

Cuda + OpenCV

Error: "this operator is not allowed in a template argument expression"
Explanation: If you include a large library in a CUDA source file (extention .cu), you are requiring the cuda compiler to process it. The cuda compiler can't handle such a large library (I still don't know exactly why).
Solution: Keep your .cu files OpenCV-reference-free. They should not know about anything related to OpenCV. Eliminate OpenCV references in a middle "buffer" layer and then deal with the

TO BE CONT'd

No comments:

Post a Comment