Searched refs:useCuda (Results 1 – 1 of 1) sorted by relevance
87 bool useCuda = gpuOption.compare("cuda") == 0; in main() local90 if (useCuda) in main()95 Ptr<cv::superres::DenseOpticalFlowExt> of = createOptFlow(optFlow, useCuda); in main()106 if (useCuda) in main()132 cout << "Mode : " << (useCuda ? "CUDA" : "CPU") << endl; in main()