Searched refs:getCudaEnabledDeviceCount (Results 1 – 21 of 21) sorted by relevance
69 CV_Assert(cuda::getCudaEnabledDeviceCount() > 0); in SparsePyrLkOptFlowEstimatorGpu()117 CV_Assert(cuda::getCudaEnabledDeviceCount() > 0); in DensePyrLkOptFlowEstimatorGpu()
774 CV_Assert(cuda::getCudaEnabledDeviceCount() > 0); in KeypointBasedMotionEstimatorGpu()
51 int num_devices = getCudaEnabledDeviceCount(); in main()
74 int num_devices = getCudaEnabledDeviceCount(); in main()
104 int num_devices = getCudaEnabledDeviceCount(); in main()
132 if (getCudaEnabledDeviceCount() == 0) in main()
163 …ncvAssertPrintReturn(cv::cuda::getCudaEnabledDeviceCount() != 0, "No GPU found or the library is c… in main()
364 const int numDevices = getCudaEnabledDeviceCount(); in main()
363 int deviceCount = getCudaEnabledDeviceCount(); in getNullStream()387 int deviceCount = getCudaEnabledDeviceCount(); in getMemoryPool()648 const int deviceCount = getCudaEnabledDeviceCount(); in setBufferPoolConfig()
48 int cv::cuda::getCudaEnabledDeviceCount() in getCudaEnabledDeviceCount() function in cv::cuda319 int count = getCudaEnabledDeviceCount(); in DeviceProps()960 int count = getCudaEnabledDeviceCount(); in printCudaDeviceInfo()1046 int count = getCudaEnabledDeviceCount(); in printShortCudaDeviceInfo()
388 if (try_cuda && cuda::getCudaEnabledDeviceCount() > 0) in main()594 if (try_cuda && cuda::getCudaEnabledDeviceCount() > 0) in main()677 if (try_cuda && cuda::getCudaEnabledDeviceCount() > 0) in main()686 if (try_cuda && cuda::getCudaEnabledDeviceCount() > 0) in main()
265 for (int i = 0; i < cv::cuda::getCudaEnabledDeviceCount(); i++) in printCudaInfo()
159 if (i < 0 || i >= getCudaEnabledDeviceCount()) in load()178 int deviceCount = getCudaEnabledDeviceCount(); in loadAll()
866 …param_cuda_device = std::max(0, std::min(cv::cuda::getCudaEnabledDeviceCount(), args.get<int>… in Init()
30 code, except for cuda::getCudaEnabledDeviceCount(). The latter function returns zero GPU count in32 not require the CUDA Toolkit installed. Therefore, using the cuda::getCudaEnabledDeviceCount()
159 int num_devices = getCudaEnabledDeviceCount(); in main()
60 if (try_use_gpu && cuda::getCudaEnabledDeviceCount() > 0) in createDefault()548 if (try_use_gpu && cuda::getCudaEnabledDeviceCount() > 0) in createStitcher()
561 if (try_use_gpu && getCudaEnabledDeviceCount() > 0) in BestOf2NearestMatcher()
206 can_use_gpu_ = try_gpu && cuda::getCudaEnabledDeviceCount(); in MultiBandBlender()
549 CV_EXPORTS int getCudaEnabledDeviceCount();
568 CV_Assert( device_id >= 0 && device_id < getCudaEnabledDeviceCount() ); in DeviceInfo()