SWDEV-272268, SWDEV-268186 - OCL change for Rebar optimization:fix regressions in OCLMemInfo and Conformance basic test
Change-Id: I3e709942b5f43ba52a4cb0824a2e6b3202d4b405
This commit is contained in:
committed by
Julia Jiang
vanhempi
2d41031aec
commit
f22ceb0fd8
@@ -1721,6 +1721,8 @@ void VirtualGPU::submitUnmapMemory(amd::UnmapMemoryCommand& vcmd) {
|
||||
// data check was added for persistent memory that failed to get aperture
|
||||
// and therefore are treated like a remote resource
|
||||
else if (memory->isPersistentDirectMap() && (memory->data() != nullptr)) {
|
||||
// Map/unmap must be serialized
|
||||
amd::ScopedLock lock(owner->lockMemoryOps());
|
||||
memory->unmap(this);
|
||||
} else if (memory->mapMemory() != nullptr) {
|
||||
if (writeMapInfo->isUnmapWrite()) {
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user