File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
runtime/os_interface/windows Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -543,17 +543,6 @@ bool WddmMemoryManager::createGpuAllocationsWithRetry(WddmAllocation *allocation
543543 return true ;
544544}
545545
546- void WddmMemoryManager::obtainGpuAddressIfNeeded (WddmAllocation *allocation) {
547- if (allocation->getNumHandles () > 1u ) {
548- auto heapIndex = selectHeap (allocation, false , executionEnvironment.isFullRangeSvm ());
549- allocation->reservedSizeForGpuVirtualAddress = allocation->getAlignedSize ();
550- auto gfxPartition = getGfxPartition (allocation->getRootDeviceIndex ());
551- allocation->reservedGpuVirtualAddress = wddm->reserveGpuVirtualAddress (gfxPartition->getHeapMinimalAddress (heapIndex),
552- gfxPartition->getHeapLimit (heapIndex),
553- allocation->reservedSizeForGpuVirtualAddress );
554- }
555- }
556-
557546void *WddmMemoryManager::reserveCpuAddressRange (size_t size) {
558547 void *reservePtr = nullptr ;
559548 wddm->reserveValidAddressRange (size, reservePtr);
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ class WddmMemoryManager : public MemoryManager {
8282 bool mapGpuVirtualAddress (WddmAllocation *graphicsAllocation, const void *requiredGpuPtr);
8383 bool mapGpuVaForOneHandleAllocation (WddmAllocation *graphicsAllocation, const void *requiredGpuPtr);
8484 bool createGpuAllocationsWithRetry (WddmAllocation *graphicsAllocation);
85- void obtainGpuAddressIfNeeded (WddmAllocation *graphicsAllocation);
8685 AlignedMallocRestrictions mallocRestrictions;
8786
8887 private:
You can’t perform that action at this time.
0 commit comments