Searched refs:two_device_ids (Results 1 – 1 of 1) sorted by relevance
/external/OpenCL-CTS/test_conformance/events/ |
D | test_event_dependencies.cpp | 81 cl_device_id *two_device_ids; in test_event_enqueue_wait_for_events_run_test() local 83 two_device_ids = (cl_device_id*)malloc(sizeof(cl_device_id)*2); in test_event_enqueue_wait_for_events_run_test() 85 error = clGetDeviceIDs(platform, CL_DEVICE_TYPE_ALL, 2, two_device_ids, &number_returned); in test_event_enqueue_wait_for_events_run_test() 89 free(two_device_ids); in test_event_enqueue_wait_for_events_run_test() 95 … error = clGetDeviceInfo(two_device_ids[i], CL_DEVICE_TYPE, sizeof(cl_device_type), &type, NULL); in test_event_enqueue_wait_for_events_run_test() 107 context_to_use = clCreateContext(NULL, 2, two_device_ids, notify_callback, NULL, &error); in test_event_enqueue_wait_for_events_run_test() 124 if( !checkDeviceForQueueSupport( two_device_ids[ 0 ], props ) || in test_event_enqueue_wait_for_events_run_test() 125 !checkDeviceForQueueSupport( two_device_ids[ 1 ], props ) ) in test_event_enqueue_wait_for_events_run_test() 131 … queueWrappers[0] = clCreateCommandQueue(context_to_use, two_device_ids[0], props, &error); in test_event_enqueue_wait_for_events_run_test() 133 … queueWrappers[1] = clCreateCommandQueue(context_to_use, two_device_ids[1], props, &error); in test_event_enqueue_wait_for_events_run_test() [all …]
|