mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Initial implementation of Timestamp Packet write
Change-Id: Ic498bcf9795f54fbb5fb5a8d07ed17fa70dc4f1a Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
02b8055897
commit
a807b9a90b
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user