MCPcopy Create free account
hub / github.com/ROCm/clr / FlushSubmissionBatch

Method FlushSubmissionBatch

rocclr/platform/commandqueue.cpp:144–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void 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
154void HostQueue::finishCommand(Command* command) {
155 if (command == nullptr) {

Callers 1

enqueueMethod · 0.80

Calls 2

enqueueMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected