Initial implementation of Timestamp Packet write

Change-Id: Ic498bcf9795f54fbb5fb5a8d07ed17fa70dc4f1a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-08-24 08:48:59 +02:00
committed by sys_ocldev
parent 02b8055897
commit a807b9a90b
32 changed files with 429 additions and 95 deletions

View File

@@ -291,7 +291,7 @@ TEST_F(CommandQueueCommandStreamTest, GetCommandStreamReturnsValidObject) {
const cl_queue_properties props[3] = {CL_QUEUE_PROPERTIES, 0, 0};
CommandQueue commandQueue(context.get(), pDevice, props);
auto &cs = commandQueue.getCS();
auto &cs = commandQueue.getCS(1024);
EXPECT_NE(nullptr, &cs);
}
@@ -326,7 +326,7 @@ TEST_F(CommandQueueCommandStreamTest, getCommandStreamCanRecycle) {
const cl_queue_properties props[3] = {CL_QUEUE_PROPERTIES, 0, 0};
CommandQueue commandQueue(context.get(), pDevice, props);
auto &commandStreamInitial = commandQueue.getCS();
auto &commandStreamInitial = commandQueue.getCS(1024);
size_t requiredSize = commandStreamInitial.getMaxAvailableSpace() + 42;
const auto &commandStream = commandQueue.getCS(requiredSize);