Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/thread_dimensions/
Dtest_thread_dimensions.cpp43 size_t num_devices_returned; in get_maximums() local
44 err = clGetContextInfo(context, CL_CONTEXT_DEVICES, 0, NULL, &num_devices_returned); in get_maximums()
50 devices = (cl_device_id *)malloc(num_devices_returned); in get_maximums()
51 err = clGetContextInfo(context, CL_CONTEXT_DEVICES, num_devices_returned, devices, NULL); in get_maximums()
57 num_devices_returned /= sizeof(cl_device_id); in get_maximums()
58 …if (num_devices_returned > 1) log_info("%d devices in device group.\n", (int)num_devices_returned); in get_maximums()
59 if (num_devices_returned < 1) { in get_maximums()
72 for (i=0; i<num_devices_returned; i++) { in get_maximums()