mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Remove copy constructor for GraphicsAllocation
Change-Id: If547a004b6f9e5cadb1f6ba0a0f44c3ac0d1ff0d
This commit is contained in:
committed by
sys_ocldev
parent
eea76094a1
commit
d9dd68a8ef
@@ -279,7 +279,7 @@ HWTEST_F(AubCommandStreamReceiverTests, givenAubCommandStreamReceiverWhenGraphic
|
||||
|
||||
HWTEST_F(AubCommandStreamReceiverTests, givenAubCommandStreamReceiverWhenGraphicsAllocationSizeIsZeroThenWriteMemoryIsNotAllowed) {
|
||||
std::unique_ptr<AUBCommandStreamReceiverHw<FamilyType>> aubCsr(new AUBCommandStreamReceiverHw<FamilyType>(*platformDevices[0], true));
|
||||
auto gfxAllocation = GraphicsAllocation((void *)0x1234, 0);
|
||||
GraphicsAllocation gfxAllocation((void *)0x1234, 0);
|
||||
|
||||
EXPECT_FALSE(aubCsr->writeMemory(gfxAllocation));
|
||||
}
|
||||
|
||||
@@ -931,7 +931,7 @@ HWTEST_F(CommandStreamReceiverCQFlushTaskTests, getCSShouldReturnACSWithEnoughSi
|
||||
EXPECT_GE(commandStream.getAvailableSpace(), sizeRequested);
|
||||
commandStream.getSpace(sizeRequested - sizeCQReserves);
|
||||
|
||||
GraphicsAllocation allocation = GraphicsAllocation((void *)0x1234, 1);
|
||||
GraphicsAllocation allocation((void *)0x1234, 1);
|
||||
LinearStream linear(&allocation);
|
||||
|
||||
auto blocking = true;
|
||||
|
||||
Reference in New Issue
Block a user