Searched refs:ndevices (Results 1 – 3 of 3) sorted by relevance
256 static int ndevices; variable372 int size = (ndevices + 1) * sizeof(struct per_dev_info); in resize_devices()379 memset(&devices[ndevices], 0, sizeof(struct per_dev_info)); in resize_devices()380 devices[ndevices].name = name; in resize_devices()381 ndevices++; in resize_devices()390 for (i = 0; i < ndevices; i++) { in get_dev_info()400 pdi = &devices[ndevices - 1]; in get_dev_info()1778 for (pdi = devices, i = 0; i < ndevices; i++, pdi++) { in show_device_and_cpu_stats()2513 for (i = 0; i < ndevices; i++) { in do_file()2802 if (!pipeline && !ndevices) { in main()
245 size_t ndevices() const;
2826 size_t Context::ndevices() const in ndevices() function in cv::ocl::Context3487 int i, n = (int)ctx.ndevices(); in Impl()