| 70 | } |
| 71 | |
| 72 | cl_int |
| 73 | flushAll( |
| 74 | cl_uint numCommandQueues, |
| 75 | cl_command_queue *commandQueues) |
| 76 | { |
| 77 | cl_int err; |
| 78 | cl_uint i; |
| 79 | |
| 80 | for (i = 0; i < numCommandQueues; i++) { |
| 81 | err = clFlush(commandQueues[i]); |
| 82 | if (err != CL_SUCCESS) { |
| 83 | return err; |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | return CL_SUCCESS; |
| 88 | } |
| 89 | |
| 90 | void |
| 91 | printTestParams( |
no outgoing calls
no test coverage detected