mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 00:03:14 +08:00
Set GraphicsAllocation to AubWritable in Aub test
Change-Id: I857667214896b0b8281aa9f2bd477231ab1c059f Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
802a620bd2
commit
22fc95fb20
@@ -46,6 +46,8 @@ HWTEST_F(TimestampPacketAubTests, givenTwoBatchedEnqueuesWhenDependencyIsResolve
|
||||
|
||||
pCmdQ->enqueueWriteBuffer(buffer.get(), CL_FALSE, 0, bufferSize, writePattern1, 0, nullptr, &outEvent1);
|
||||
auto node1 = castToObject<Event>(outEvent1)->getTimestampPacketNodes()->peekNodes().at(0);
|
||||
node1->getBaseGraphicsAllocation()->setAubWritable(true); // allow to write again after Buffer::create
|
||||
|
||||
pCmdQ->enqueueWriteBuffer(buffer.get(), CL_TRUE, 0, bufferSize, writePattern2, 0, nullptr, &outEvent2);
|
||||
auto node2 = castToObject<Event>(outEvent2)->getTimestampPacketNodes()->peekNodes().at(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user