mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
Fortify events
- add some debug breaks - clean cmd ownership, there can't be situation when event holds 2 commands - cmd meaning cleanup - remove not needed try catch clause Change-Id: I5ad6877e7235de2d7f48818467cb4b92655aab97
This commit is contained in:
committed by
sys_ocldev
parent
6afb024f6f
commit
2b91ea85c6
@@ -303,7 +303,7 @@ HWTEST_F(CommandQueueHwTest, GivenEventsWaitlistOnBlockingMapBufferWillWaitForEv
|
||||
auto b1 = clCreateBuffer(context, CL_MEM_READ_WRITE, 20, nullptr, nullptr);
|
||||
cl_event meAsClEv = me;
|
||||
void *ptr1 = clEnqueueMapBuffer(pCmdQ, b1, CL_TRUE, CL_MAP_READ, 0, 8, 1, &meAsClEv, nullptr, nullptr);
|
||||
ASSERT_TRUE(me->peekIsCompleted());
|
||||
ASSERT_TRUE(me->updateStatusAndCheckCompletion());
|
||||
ASSERT_LE(me->updateCountBeforeCompleted, me->updateCount);
|
||||
|
||||
clEnqueueUnmapMemObject(pCmdQ, b1, ptr1, 0, nullptr, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user