Home
last modified time | relevance | path

Searched refs:dev_count (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dplugin.c54 gint dev_count = 0; in plugin_init() local
98 if (CuDeviceGetCount (&dev_count) != CUDA_SUCCESS || !dev_count) { in plugin_init()
130 for (i = 0; i < dev_count; i++) { in plugin_init()
Dgstcudacontext.c143 gint dev_count = 0; in gst_cuda_context_constructed() local
161 if (!gst_cuda_result (CuDeviceGetCount (&dev_count)) || dev_count == 0) { in gst_cuda_context_constructed()
166 for (i = 0; i < dev_count; ++i) { in gst_cuda_context_constructed()
/third_party/vulkan-loader/tests/
Dloader_layer_tests.cpp2964 uint32_t dev_count = 0; in TEST() local
2965 ASSERT_EQ(VK_SUCCESS, inst->vkEnumeratePhysicalDevices(inst, &dev_count, nullptr)); in TEST()
2966 ASSERT_GT(dev_count, icd_devices); in TEST()
2973 auto physical_devices = std::vector<VkPhysicalDevice>(dev_count); in TEST()
2974 returned_phys_dev_count = dev_count; in TEST()
2976 ASSERT_EQ(dev_count, returned_phys_dev_count); in TEST()
2978 uint32_t diff_count = dev_count - icd_devices; in TEST()
2981 for (uint32_t dev = 0; dev < dev_count; ++dev) { in TEST()
3043 uint32_t dev_count = 0; in TEST() local
3044 ASSERT_EQ(VK_SUCCESS, inst->vkEnumeratePhysicalDevices(inst, &dev_count, nullptr)); in TEST()
[all …]