| 298 | const Event::EventWaitList Event::nullWaitList(0); |
| 299 | |
| 300 | static bool IsActivityEnabledAndCommit(cl_command_type type) { |
| 301 | auto op = amd::activity_prof::OperationId(type); |
| 302 | if (amd::activity_prof::IsEnabled(op)) { |
| 303 | amd::activity_prof::CommitRecord(op); |
| 304 | return true; |
| 305 | } |
| 306 | return false; |
| 307 | } |
| 308 | |
| 309 | // ================================================================================================ |
| 310 | Command::Command(HostQueue& queue, cl_command_type type, const EventWaitList& eventWaitList, |
no test coverage detected