mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Do not update task count with not ready status.
- queue blocked status is handled by virtual event not task count. Change-Id: I8979ba55d2319a75393c639b234dcd86cf2792ae
This commit is contained in:
committed by
sys_ocldev
parent
3eb856b192
commit
e9fd40db13
@@ -354,8 +354,9 @@ cl_int CommandQueue::enqueueReleaseSharedObjects(cl_uint numObjects, const cl_me
|
||||
void CommandQueue::updateFromCompletionStamp(const CompletionStamp &completionStamp) {
|
||||
DEBUG_BREAK_IF(this->taskLevel > completionStamp.taskLevel);
|
||||
DEBUG_BREAK_IF(this->taskCount > completionStamp.taskCount);
|
||||
|
||||
taskCount = completionStamp.taskCount;
|
||||
if (completionStamp.taskCount != Event::eventNotReady) {
|
||||
taskCount = completionStamp.taskCount;
|
||||
}
|
||||
flushStamp->setStamp(completionStamp.flushStamp);
|
||||
this->taskLevel = completionStamp.taskLevel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user