| 323 | } |
| 324 | |
| 325 | cl_int VISIBILITY_HIDDEN |
| 326 | getQueueProperties( |
| 327 | cl_command_queue queue, |
| 328 | cl_command_queue_properties *props) |
| 329 | { |
| 330 | cl_int err; |
| 331 | cl_command_queue_properties p; |
| 332 | |
| 333 | err = clGetCommandQueueInfo(queue, CL_QUEUE_PROPERTIES, |
| 334 | sizeof(cl_command_queue_properties), &p, NULL); |
| 335 | if (err != CL_SUCCESS) |
| 336 | return err; |
| 337 | if (props != NULL) |
| 338 | *props = p; |
| 339 | return err; |
| 340 | } |
| 341 | |
| 342 | Kernel VISIBILITY_HIDDEN |
| 343 | *loadKernel( const unsigned char** buffer, |