mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
Replace Event::eventNotReady with CompletionStamp::levelNotReady
- move some files to core - remove unnecessary includes Related-To: NEO-4175 Change-Id: Ib33dff644452c7cfd6fda7e9bb4b68cd6eb3a61c Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
fba25e696c
commit
b6825933f8
@@ -223,7 +223,7 @@ TEST_F(EnqueueReadBuffer, givenInOrderQueueAndForcedCpuCopyOnReadBufferAndEventN
|
||||
uint32_t taskLevelCmdQ = 17;
|
||||
pCmdQ->taskLevel = taskLevelCmdQ;
|
||||
|
||||
Event event1(pCmdQ, CL_COMMAND_NDRANGE_KERNEL, Event::eventNotReady, 4);
|
||||
Event event1(pCmdQ, CL_COMMAND_NDRANGE_KERNEL, CompletionStamp::levelNotReady, 4);
|
||||
|
||||
cl_bool blockingRead = CL_FALSE;
|
||||
size_t size = sizeof(cl_float);
|
||||
@@ -247,8 +247,8 @@ TEST_F(EnqueueReadBuffer, givenInOrderQueueAndForcedCpuCopyOnReadBufferAndEventN
|
||||
ASSERT_NE(nullptr, event);
|
||||
|
||||
auto pEvent = (Event *)event;
|
||||
EXPECT_EQ(Event::eventNotReady, pEvent->taskLevel);
|
||||
EXPECT_EQ(Event::eventNotReady, pCmdQ->taskLevel);
|
||||
EXPECT_EQ(CompletionStamp::levelNotReady, pEvent->taskLevel);
|
||||
EXPECT_EQ(CompletionStamp::levelNotReady, pCmdQ->taskLevel);
|
||||
event1.taskLevel = 20;
|
||||
event1.setStatus(CL_COMPLETE);
|
||||
pEvent->updateExecutionStatus();
|
||||
|
||||
Reference in New Issue
Block a user