mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
Remove createInternalGraphicsAllocation function.
- Route directly to allocate32BitGraphicsMemory Change-Id: Ia6872bae655c530ff06b0ec270f419ca91d005ce
This commit is contained in:
committed by
sys_ocldev
parent
6fdde42289
commit
d2817427af
@@ -781,8 +781,8 @@ HWCMDTEST_F(IGFX_GEN8_CORE, DispatchWalkerTest, dispatchWalkerWithMultipleDispat
|
||||
using INTERFACE_DESCRIPTOR_DATA = typename FamilyType::INTERFACE_DESCRIPTOR_DATA;
|
||||
|
||||
auto memoryManager = this->pDevice->getMemoryManager();
|
||||
auto kernelIsaAllocation = memoryManager->createInternalGraphicsAllocation(nullptr, 4096u);
|
||||
auto kernelIsaWithSamplerAllocation = memoryManager->createInternalGraphicsAllocation(nullptr, 4096u);
|
||||
auto kernelIsaAllocation = memoryManager->allocate32BitGraphicsMemory(MemoryConstants::pageSize, nullptr, AllocationOrigin::INTERNAL_ALLOCATION);
|
||||
auto kernelIsaWithSamplerAllocation = memoryManager->allocate32BitGraphicsMemory(MemoryConstants::pageSize, nullptr, AllocationOrigin::INTERNAL_ALLOCATION);
|
||||
kernelInfo.kernelAllocation = kernelIsaAllocation;
|
||||
kernelInfoWithSampler.kernelAllocation = kernelIsaWithSamplerAllocation;
|
||||
auto gpuAddress1 = kernelIsaAllocation->getGpuAddressToPatch();
|
||||
|
||||
Reference in New Issue
Block a user