Fix Windows build

Change-Id: Icdc723843541a5c13503670b5f972b78db0cccbf


[ROCm/clr commit: 1183455755]
This commit is contained in:
Vladislav Sytchenko
2020-09-28 13:48:30 -04:00
parent 2a16ef5d04
commit 46c26cc6d8
@@ -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());