• Yashas Samaga B L's avatar
    Merge pull request #14660 from YashasSamaga:dnn-cuda-build · ae279966
    Yashas Samaga B L authored
    add cuDNN dependency and setup build for cuda4dnn (#14660)
    
    * update cmake for cuda4dnn
    
    - Adds FindCUDNN
    - Adds new options:
       * WITH_CUDA
       * OPENCV_DNN_CUDA
    - Adds CUDA4DNN preprocessor symbol for the DNN module
    
    * FIX: append EXCLUDE_CUDA instead of overwrite
    
    * remove cuDNN dependency for user apps
    
    * fix unused variable warning
    ae279966
OpenCVPackaging.cmake 7.7 KB