SWDEV-374668 - Observed one subtest failure in ocltst32

Don't force sysmem allocation

Change-Id: I792f0da231c6e8058f1bfb81ba1f88ecb59b7c8e


[ROCm/clr commit: 60d413a5b9]
Este commit está contenido en:
Alex Xie
2023-01-16 17:34:40 -05:00
cometido por AlexBin Xie
padre b2cec5605b
commit ebefe9c576
+4 -1
Ver fichero
@@ -1511,10 +1511,13 @@ pal::Memory* Device::createBuffer(amd::Memory& owner, bool directAccess) const {
// GPU will be reading from this host memory buffer,
// so assume Host write into it
type = Resource::RemoteUSWC;
remoteAlloc = true;
} else {
#ifndef ATI_BITS_32
type = Resource::Remote;
remoteAlloc = true;
#endif
}
remoteAlloc = true;
}
// Make sure owner has a valid hostmem pointer and it's not COPY
if (!remoteAlloc && (owner.getHostMem() != nullptr)) {