mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Use GfxPartition for GPU address range allocations
[2/n] - OsAgnosticMemoryManager Related-To: NEO-2877 Change-Id: I887126362381ac960608a2150fae211631d3cd5b Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
bb6dfd4fe6
commit
165d1e4e55
@ -370,7 +370,7 @@ HWTEST_F(EnqueueKernelTest, givenReducedAddressSpaceGraphicsAllocationForHostPtr
|
||||
std::unique_ptr<MockDevice> device;
|
||||
std::unique_ptr<CommandQueue> cmdQ;
|
||||
auto hwInfoToModify = *platformDevices[0];
|
||||
hwInfoToModify.capabilityTable.gpuAddressSpace = MemoryConstants::max32BitAddress;
|
||||
hwInfoToModify.capabilityTable.gpuAddressSpace = MemoryConstants::max36BitAddress;
|
||||
device.reset(MockDevice::createWithNewExecutionEnvironment<MockDevice>(&hwInfoToModify));
|
||||
auto mockCsr = new MockCsrHw2<FamilyType>(*device->executionEnvironment);
|
||||
device->resetCommandStreamReceiver(mockCsr);
|
||||
@ -394,7 +394,7 @@ HWTEST_F(EnqueueKernelTest, givenReducedAddressSpaceGraphicsAllocationForHostPtr
|
||||
std::unique_ptr<MockDevice> device;
|
||||
std::unique_ptr<CommandQueue> cmdQ;
|
||||
auto hwInfoToModify = *platformDevices[0];
|
||||
hwInfoToModify.capabilityTable.gpuAddressSpace = MemoryConstants::max32BitAddress;
|
||||
hwInfoToModify.capabilityTable.gpuAddressSpace = MemoryConstants::max36BitAddress;
|
||||
device.reset(MockDevice::createWithNewExecutionEnvironment<MockDevice>(&hwInfoToModify));
|
||||
auto mockCsr = new MockCsrHw2<FamilyType>(*device->executionEnvironment);
|
||||
device->resetCommandStreamReceiver(mockCsr);
|
||||
|
Reference in New Issue
Block a user