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:
@@ -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)) {
|
||||
|
||||
Referencia en una nueva incidencia
Block a user