mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
refactor: remove not needed arguments in adjustGpuPtrToHostAddressSpace
- add also tests to confirm that proper alignment is applied Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8e07dd30cb
commit
33a5dd486b
@@ -115,7 +115,8 @@ class WddmMemoryManager : public MemoryManager {
|
||||
bool mapMultiHandleAllocationWithRetry(WddmAllocation *allocation, const void *requiredGpuPtr);
|
||||
bool createGpuAllocationsWithRetry(WddmAllocation *graphicsAllocation);
|
||||
template <bool Is32Bit = is32bit>
|
||||
void adjustGpuPtrToHostAddressSpace(const AllocationData &allocationData, WddmAllocation &wddmAllocation, size_t sizeAligned, void *&requiredGpuVa);
|
||||
void adjustGpuPtrToHostAddressSpace(WddmAllocation &wddmAllocation, void *&requiredGpuVa);
|
||||
bool isStatelessAccessRequired(AllocationType type);
|
||||
AlignedMallocRestrictions mallocRestrictions;
|
||||
|
||||
Wddm &getWddm(uint32_t rootDeviceIndex) const;
|
||||
|
||||
Reference in New Issue
Block a user