mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +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) {
|
||||
|
||||
@@ -320,10 +320,6 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
|
||||
|
||||
MOCKABLE_VIRTUAL void waitUntilComplete(uint32_t taskCountToWait, FlushStamp flushStampToWait, bool useQuickKmdSleep);
|
||||
|
||||
void flushWaitList(cl_uint numEventsInWaitList,
|
||||
const cl_event *eventWaitList,
|
||||
bool ndRangeKernel);
|
||||
|
||||
static uint32_t getTaskLevelFromWaitList(uint32_t taskLevel,
|
||||
cl_uint numEventsInWaitList,
|
||||
const cl_event *eventWaitList);
|
||||
|
||||
Reference in New Issue
Block a user