Commit Graph

2 Commits

Author SHA1 Message Date
Yashas Samaga B L
ae279966c2 Merge pull request from YashasSamaga:dnn-cuda-build
add cuDNN dependency and setup build for cuda4dnn ()

* 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
2019-06-02 14:47:15 +03:00
Alexander Alekhin
1b83bc48a1 dnn: make OpenCL DNN code optional 2018-03-01 12:12:40 +03:00