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:
Mateusz Hoppe
2020-01-23 11:57:37 +01:00
committed by sys_ocldev
parent fba25e696c
commit b6825933f8
65 changed files with 190 additions and 178 deletions

View File

@@ -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();