mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
User event code path improvements.
- is queue blocked to release virtual event when it is submitted - do not wait on completion after ndr submit. Change-Id: I63c54e6940f6241b32f0dbdd5880f849c46fd12e Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
cf63b25aff
commit
64403ef630
@@ -141,7 +141,7 @@ bool CommandQueue::isQueueBlocked() {
|
||||
TakeOwnershipWrapper<CommandQueue> takeOwnershipWrapper(*this);
|
||||
//check if we have user event and if so, if it is in blocked state.
|
||||
if (this->virtualEvent) {
|
||||
if (this->virtualEvent->peekExecutionStatus() <= CL_COMPLETE) {
|
||||
if (this->virtualEvent->peekExecutionStatus() <= CL_SUBMITTED) {
|
||||
UNRECOVERABLE_IF(this->virtualEvent == nullptr);
|
||||
|
||||
if (this->virtualEvent->isStatusCompletedByTermination() == false) {
|
||||
|
||||
Reference in New Issue
Block a user