mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 04:23:00 +08:00
feature: Allow for Allocating a base address in the heap and grow an allocation
Related-To: LOCI-3871 - Enabled allocation of specified base address in the targeted heap. - Enabled virtual memory reservations to grow by allocating at the start of the heap vs the end of the heap. Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6308c1b210
commit
44ec497b1a
@@ -56,7 +56,7 @@ void DebuggerL0::initialize() {
|
||||
RootDeviceIndicesContainer rootDevices;
|
||||
rootDevices.push_back(device->getRootDeviceIndex());
|
||||
uint32_t rootDeviceIndexReserved = 0;
|
||||
sbaTrackingGpuVa = device->getMemoryManager()->reserveGpuAddress(nullptr, MemoryConstants::pageSize, rootDevices, &rootDeviceIndexReserved);
|
||||
sbaTrackingGpuVa = device->getMemoryManager()->reserveGpuAddress(0ull, MemoryConstants::pageSize, rootDevices, &rootDeviceIndexReserved);
|
||||
properties.gpuAddress = sbaTrackingGpuVa.address;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user