Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 5c0a69f

Browse files
committed
Fix Windows build
Change-Id: Icdc723843541a5c13503670b5f972b78db0cccbf
1 parent dba5398 commit 5c0a69f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

device/pal/palvirtual.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3528,10 +3528,6 @@ bool VirtualGPU::processMemObjectsHSA(const amd::Kernel& kernel, const_address p
35283528
if (hsaKernel.prog().hasGlobalStores()) {
35293529
// Validate code object for a dependency in the queue
35303530
memoryDependency().validate(*this, &hsaKernel.prog().codeSegGpu(), IsReadOnly);
3531-
std::vector<amd::Memory*> undefined = hsaKernel.prog().getUndefMemObj();
3532-
for (auto it = undefined.begin(); it != undefined.end(); ++it) {
3533-
addVmMemory(dev().getGpuMemory(*it));
3534-
}
35353531
}
35363532

35373533
addVmMemory(&hsaKernel.prog().codeSegGpu());

0 commit comments

Comments
 (0)