| 1532 | } |
| 1533 | |
| 1534 | int checkDeviceForQueueSupport(cl_device_id device, |
| 1535 | cl_command_queue_properties prop) |
| 1536 | { |
| 1537 | cl_command_queue_properties realProps; |
| 1538 | cl_int error = clGetDeviceInfo(device, CL_DEVICE_QUEUE_ON_HOST_PROPERTIES, |
| 1539 | sizeof(realProps), &realProps, NULL); |
| 1540 | test_error_ret(error, "FAILURE: Unable to get device queue properties", 0); |
| 1541 | |
| 1542 | return (realProps & prop) ? 1 : 0; |
| 1543 | } |
| 1544 | |
| 1545 | int printDeviceHeader(cl_device_id device) |
| 1546 | { |
no outgoing calls