Home
last modified time | relevance | path

Searched refs:num_devices (Results 1 – 25 of 52) sorted by relevance

123

/third_party/boost/libs/compute/example/
Dopencl_test.cpp111 cl_uint num_devices = 0; in main() local
112 ret = clGetDeviceIDs(platform, CL_DEVICE_TYPE_ALL, 0, NULL, &num_devices); in main()
119 std::cout << "platform " << i << " has " << num_devices << " devices:" << std::endl; in main()
122 cl_device_id *devices = new cl_device_id[num_devices]; in main()
123 ret = clGetDeviceIDs(platform, CL_DEVICE_TYPE_ALL, num_devices, devices, NULL); in main()
131 for(cl_uint j = 0; j < num_devices; j++){ in main()
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_device_enumeration.txt73 EGLint *num_devices);
81 EGLint *num_devices);
84 success, EGL_TRUE is returned, and <num_devices> devices are
85 stored in the array pointed to by <devices>. <num_devices> will
88 <devices>, and <num_devices> will be set to the number of
94 <devices> is NULL, or if <num_devices> is NULL."
/third_party/EGL/extensions/EXT/
DEGL_EXT_device_enumeration.txt73 EGLint *num_devices);
81 EGLint *num_devices);
84 success, EGL_TRUE is returned, and <num_devices> devices are
85 stored in the array pointed to by <devices>. <num_devices> will
88 <devices>, and <num_devices> will be set to the number of
94 <devices> is NULL, or if <num_devices> is NULL."
/third_party/pulseaudio/src/modules/macosx/
Dmodule-coreaudio-detect.c120 UInt32 i, size, num_devices; in ca_update_device_list() local
139 num_devices = size / sizeof(AudioDeviceID); in ca_update_device_list()
140 device_id = pa_xnew(AudioDeviceID, num_devices); in ca_update_device_list()
150 for (i = 0; i < num_devices; i++) { in ca_update_device_list()
169 for (i = 0; i < num_devices; i++) in ca_update_device_list()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dcl_stubs.cpp62 cl_uint *num_devices) in GetDeviceIDs() argument
65 num_devices); in GetDeviceIDs()
80 cl_uint num_devices, in CreateSubDevices() argument
84 return in_device->cast<Device>().createSubDevices(properties, num_devices, out_devices, in CreateSubDevices()
131 cl_uint num_devices, in CreateContext() argument
140 return Platform::CreateContext(properties, num_devices, devices, pfn_notify, user_data, in CreateContext()
407 cl_uint num_devices, in CreateProgramWithBinary() argument
414 return context->cast<Context>().createProgramWithBinary(num_devices, device_list, lengths, in CreateProgramWithBinary()
419 cl_uint num_devices, in CreateProgramWithBuiltInKernels() argument
424 return context->cast<Context>().createProgramWithBuiltInKernels(num_devices, device_list, in CreateProgramWithBuiltInKernels()
[all …]
Dentry_points_cl_autogen.cpp64 cl_uint *num_devices) in clGetDeviceIDs() argument
73 (uintptr_t)devices, (uintptr_t)num_devices); in clGetDeviceIDs()
78 num_devices); in clGetDeviceIDs()
80 return GetDeviceIDs(platform, device_typePacked, num_entries, devices, num_devices); in clGetDeviceIDs()
106 cl_uint num_devices, in clCreateContext() argument
121 (uintptr_t)properties, num_devices, (uintptr_t)devices, (uintptr_t)pfn_notify, in clCreateContext()
124 ANGLE_CL_VALIDATE_ERRCODE_RET(CreateContext, properties, num_devices, devices, pfn_notify, in clCreateContext()
129 CreateContext(properties, num_devices, devices, pfn_notify, user_data, errorCode); in clCreateContext()
433 cl_uint num_devices, in clCreateProgramWithBinary() argument
444 (uintptr_t)context, num_devices, (uintptr_t)device_list, (uintptr_t)lengths, in clCreateProgramWithBinary()
[all …]
Dcl_stubs_autogen.h28 cl_uint *num_devices);
36 cl_uint num_devices,
49 cl_uint num_devices,
166 cl_uint num_devices,
173 cl_uint num_devices,
184 cl_uint num_devices,
190 cl_uint num_devices,
199 cl_uint num_devices,
Dentry_points_cl_autogen.h32 cl_uint *num_devices);
39 cl_uint num_devices,
106 cl_uint num_devices,
115 cl_uint num_devices,
401 cl_uint num_devices,
413 cl_uint num_devices,
418 cl_uint num_devices,
428 cl_uint num_devices,
/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_dx9_media_sharing.h87 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2;
162 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_1;
171 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_1;
Dcl_icd.h56 cl_device_id *devices, cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0;
67 cl_uint num_entries, cl_device_id *out_devices, cl_uint *num_devices);
85 const cl_context_properties *properties, cl_uint num_devices,
264 cl_context context, cl_uint num_devices, const cl_device_id *device_list,
272 cl_context context, cl_uint num_devices, const cl_device_id *device_list,
288 cl_program program, cl_uint num_devices, const cl_device_id *device_list,
296 cl_program program, cl_uint num_devices, const cl_device_id *device_list,
303 cl_context context, cl_uint num_devices, const cl_device_id *device_list,
795 cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0;
826 cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices);
[all …]
Dcl_va_api_media_sharing_intel.h71 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2;
80 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2;
/third_party/libinput/test/
Dtest-keyboard.c35 const int num_devices = ARRAY_LENGTH(devices); in START_TEST() local
45 for (i = 0; i < num_devices; ++i) { in START_TEST()
55 for (i = 0; i < num_devices; ++i) in START_TEST()
73 ck_assert_int_eq(seat_key_count, num_devices); in START_TEST()
75 for (i = 0; i < num_devices; ++i) in START_TEST()
97 for (i = 0; i < num_devices; ++i) in START_TEST()
Dtest-udev.c388 int num_devices = 0; in START_TEST() local
402 process_events_count_devices(li, &num_devices); in START_TEST()
403 ck_assert_int_gt(num_devices, 0); in START_TEST()
408 process_events_count_devices(li, &num_devices); in START_TEST()
409 ck_assert_int_eq(num_devices, 0); in START_TEST()
414 process_events_count_devices(li, &num_devices); in START_TEST()
415 ck_assert_int_gt(num_devices, 0); in START_TEST()
/third_party/skia/third_party/externals/angle2/src/libOpenCL/
DlibOpenCL_autogen.cpp36 cl_uint *num_devices) in clGetDeviceIDs() argument
39 num_devices); in clGetDeviceIDs()
53 cl_uint num_devices, in clCreateContext() argument
62 return cl::GetDispatch().clCreateContext(properties, num_devices, devices, pfn_notify, in clCreateContext()
201 cl_uint num_devices, in clCreateProgramWithBinary() argument
208 return cl::GetDispatch().clCreateProgramWithBinary(context, num_devices, device_list, lengths, in clCreateProgramWithBinary()
223 cl_uint num_devices, in clBuildProgram() argument
230 return cl::GetDispatch().clBuildProgram(program, num_devices, device_list, options, pfn_notify, in clBuildProgram()
753 cl_uint num_devices, in clCreateSubDevices() argument
757 return cl::GetDispatch().clCreateSubDevices(in_device, properties, num_devices, out_devices, in clCreateSubDevices()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationCL_autogen.h32 const cl_uint *num_devices);
39 cl_uint num_devices,
101 cl_uint num_devices,
109 cl_uint num_devices,
385 cl_uint num_devices,
396 cl_uint num_devices,
400 cl_uint num_devices,
409 cl_uint num_devices,
DvalidationCL.cpp550 const cl_uint *num_devices) in ValidateGetDeviceIDs() argument
566 if ((num_entries == 0u && devices != nullptr) || (num_devices == nullptr && devices == nullptr)) in ValidateGetDeviceIDs()
682 cl_uint num_devices, in ValidateCreateContext() argument
695 if (devices == nullptr || num_devices == 0u || (pfn_notify == nullptr && user_data != nullptr)) in ValidateCreateContext()
701 while (num_devices-- > 0u) in ValidateCreateContext()
1043 cl_uint num_devices, in ValidateCreateProgramWithBinary() argument
1058 if (device_list == nullptr || num_devices == 0u || lengths == nullptr || binaries == nullptr) in ValidateCreateProgramWithBinary()
1062 while (num_devices-- != 0u) in ValidateCreateProgramWithBinary()
1094 cl_uint num_devices, in ValidateBuildProgram() argument
1109 if ((device_list != nullptr) != (num_devices != 0u)) in ValidateBuildProgram()
[all …]
/third_party/uboot/u-boot-2020.01/net/
Deth-uclass.c393 int num_devices = 0; in eth_initialize() local
424 if (num_devices) in eth_initialize()
436 num_devices++; in eth_initialize()
440 if (!num_devices) in eth_initialize()
445 return num_devices; in eth_initialize()
Deth_legacy.c240 int num_devices = 0; in eth_initialize() local
285 num_devices++; in eth_initialize()
292 return num_devices; in eth_initialize()
/third_party/uboot/u-boot-2020.01/test/dm/
Dbus.c121 int num_devices = 8; in dm_test_bus_children() local
126 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children()
130 num_devices += 3; in dm_test_bus_children()
133 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children()
135 ut_assert(!dm_check_devices(uts, num_devices)); in dm_test_bus_children()
Dtest-fdt.c156 int dm_check_devices(struct unit_test_state *uts, int num_devices) in dm_check_devices() argument
166 for (i = 0; i < num_devices; i++) { in dm_check_devices()
193 const int num_devices = 8; in dm_test_fdt() local
206 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_fdt()
209 for (i = 0; i < num_devices; i++) { in dm_test_fdt()
216 ut_assertok(dm_check_devices(uts, num_devices)); in dm_test_fdt()
/third_party/e2fsprogs/misc/
Dfsck.c102 static int num_devices, num_args; variable
1115 num_devices = 0; in PRS()
1126 if (num_devices >= MAX_DEVICES) { in PRS()
1155 devices[num_devices++] = dev ? dev : string_copy(arg); in PRS()
1303 if ((num_devices == 1) || (serialize)) in main()
1310 if (num_devices == 0) { in main()
1315 for (i = 0 ; i < num_devices; i++) { in main()
/third_party/uboot/u-boot-2020.01/fs/btrfs/
Dsuper.c235 if (btrfs_info.sb.num_devices != 1) { in btrfs_read_superblock()
238 btrfs_info.sb.num_devices); in btrfs_read_superblock()
Dctree.h123 __u64 num_devices; member
160 __u64 num_devices; member
Dconv-funcs.h163 bytes_used, num_devices)
166 root_dir_objectid, num_devices, sectorsize, nodesize,
/third_party/boost/libs/compute/doc/
Dadvanced_topics.qbk203 cl_uint num_devices;
204 clGetContextInfo(ctx, CL_CONTEXT_NUM_DEVICES, sizeof(cl_uint), &num_devices, 0);
205 std::cout << "num_devices: " << num_devices << std::endl;

123