Allow ULTs to work with enabled TimestampPacketWrite

Change-Id: Idd4622469220b859e8724d9179837c685377ce52
This commit is contained in:
Dunajski, Bartosz
2018-10-18 10:08:39 +02:00
committed by sys_ocldev
parent b0acc5ecde
commit 1e0064fc2f
15 changed files with 74 additions and 36 deletions

View File

@@ -61,8 +61,8 @@ TEST_F(EnqueueWriteBufferTypeTest, eventReturnedShouldBeMaxOfInputEventsAndCmdQP
uint32_t taskLevelEvent1 = 8;
uint32_t taskLevelEvent2 = 19;
Event event1(nullptr, CL_COMMAND_NDRANGE_KERNEL, taskLevelEvent1, 4);
Event event2(nullptr, CL_COMMAND_NDRANGE_KERNEL, taskLevelEvent2, 10);
Event event1(pCmdQ, CL_COMMAND_NDRANGE_KERNEL, taskLevelEvent1, 4);
Event event2(pCmdQ, CL_COMMAND_NDRANGE_KERNEL, taskLevelEvent2, 10);
cl_bool blockingWrite = CL_TRUE;
size_t offset = 0;
@@ -256,4 +256,4 @@ TEST_F(EnqueueWriteBufferTypeTest, givenOutOfOrderQueueAndDisabledSupportCpuCopi
EXPECT_EQ(19u, pCmdOOQ->taskLevel);
pEvent->release();
}
}