Revert "SWDEV-374668 - Observed one subtest failure in ocltst32"

This reverts commit ebefe9c576.

Change-Id: I42d6248204107f741a462101f9608e01a7ba91d5


[ROCm/clr commit: 47e3ed545d]
This commit is contained in:
cadolphe
2024-03-01 14:09:27 -05:00
committed by Chris Adolphe
parent 4ff5ec0a02
commit 1a7892d8ee
+1 -4
View File
@@ -1594,13 +1594,10 @@ 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)) {