Fix Windows build
Change-Id: Icdc723843541a5c13503670b5f972b78db0cccbf
[ROCm/clr commit: 1183455755]
This commit is contained in:
@@ -3528,10 +3528,6 @@ bool VirtualGPU::processMemObjectsHSA(const amd::Kernel& kernel, const_address p
|
||||
if (hsaKernel.prog().hasGlobalStores()) {
|
||||
// Validate code object for a dependency in the queue
|
||||
memoryDependency().validate(*this, &hsaKernel.prog().codeSegGpu(), IsReadOnly);
|
||||
std::vector<amd::Memory*> undefined = hsaKernel.prog().getUndefMemObj();
|
||||
for (auto it = undefined.begin(); it != undefined.end(); ++it) {
|
||||
addVmMemory(dev().getGpuMemory(*it));
|
||||
}
|
||||
}
|
||||
|
||||
addVmMemory(&hsaKernel.prog().codeSegGpu());
|
||||
|
||||
Reference in New Issue
Block a user