mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
Remove flushWaitList method.
- No longer needed. Change-Id: I9e255067fb4b0d52a42f6a49145b3a8d591b5e74
This commit is contained in:
committed by
sys_ocldev
parent
eaf72b6098
commit
393ce116e7
@@ -320,21 +320,6 @@ void CommandQueue::updateFromCompletionStamp(const CompletionStamp &completionSt
|
||||
this->taskLevel = completionStamp.taskLevel;
|
||||
}
|
||||
|
||||
void CommandQueue::flushWaitList(
|
||||
cl_uint numEventsInWaitList,
|
||||
const cl_event *eventWaitList,
|
||||
bool ndRangeKernel) {
|
||||
|
||||
bool isQBlocked = false;
|
||||
|
||||
//as long as queue is blocked we need to stall.
|
||||
if (!isOOQEnabled()) {
|
||||
while ((isQBlocked = isQueueBlocked()))
|
||||
;
|
||||
}
|
||||
device->getCommandStreamReceiver().flushBatchedSubmissions();
|
||||
}
|
||||
|
||||
bool CommandQueue::setPerfCountersEnabled(bool perfCountersEnabled, cl_uint configuration) {
|
||||
DEBUG_BREAK_IF(device == nullptr);
|
||||
if (perfCountersEnabled == this->perfCountersEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user