| 111 | } |
| 112 | |
| 113 | inline unsigned getComputeUnits(const cl::Device& device) { |
| 114 | return device.getInfo<CL_DEVICE_MAX_COMPUTE_UNITS>(); |
| 115 | } |
| 116 | |
| 117 | // maximum nr of threads the device really can run in parallel, without |
| 118 | // scheduling |
no outgoing calls
no test coverage detected