mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Remove not needed code.
Change-Id: I5b0fd2960ed7777bc7603013071a431af6d435c5
This commit is contained in:
committed by
sys_ocldev
parent
d3f71cfb04
commit
1dc3a94ac8
@@ -60,11 +60,6 @@ class WddmAllocation : public GraphicsAllocation {
|
||||
return this->alignedCpuPtr;
|
||||
}
|
||||
|
||||
void setAlignedCpuPtr(void *ptr) {
|
||||
this->alignedCpuPtr = ptr;
|
||||
this->cpuPtr = ptr;
|
||||
}
|
||||
|
||||
size_t getAlignedSize() const {
|
||||
return this->alignedSize;
|
||||
}
|
||||
|
||||
@@ -99,8 +99,6 @@ GraphicsAllocation *WddmMemoryManager::allocateGraphicsMemory64kb(size_t size, s
|
||||
|
||||
auto cpuPtr = lockResource(wddmAllocation);
|
||||
wddmAllocation->setLocked(true);
|
||||
|
||||
wddmAllocation->setAlignedCpuPtr(cpuPtr);
|
||||
// 64kb map is not needed
|
||||
auto status = wddm->mapGpuVirtualAddress(wddmAllocation, cpuPtr, false, false, false);
|
||||
DEBUG_BREAK_IF(!status);
|
||||
|
||||
Reference in New Issue
Block a user