| 204 | } |
| 205 | |
| 206 | ProfilingInfo ProfilingCommandQueue::GetProfilingInfo() const { |
| 207 | ProfilingInfo result; |
| 208 | result.dispatches.resize(events_.size()); |
| 209 | for (int i = 0; i < events_.size(); ++i) { |
| 210 | result.dispatches[i].label = events_[i].GetName(); |
| 211 | result.dispatches[i].time_ns = events_[i].GetEventTimeNs(); |
| 212 | } |
| 213 | return result; |
| 214 | } |
| 215 | |
| 216 | Status ProfilingCommandQueue::GetBestWorkGroupIndex( |
| 217 | const CLKernel& kernel, const DeviceInfo& device_info, const int3& grid, |
no test coverage detected