| 142 | } |
| 143 | |
| 144 | void HostQueue::FlushSubmissionBatch() { |
| 145 | if (size_ > DEBUG_CLR_MAX_BATCH_SIZE) { |
| 146 | auto marker = new Marker(*this, false); |
| 147 | if (marker != nullptr) { |
| 148 | marker->enqueue(); |
| 149 | marker->release(); |
| 150 | } |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | void HostQueue::finishCommand(Command* command) { |
| 155 | if (command == nullptr) { |