P4 to Git Change 1295719 by cpaquot@hog-ocl on 2016/07/26 18:50:05
SWDEV-96959 - RQ conf test "mem_host_flags" failed with "GPU memory access fault" error Use getHostMem instead of isHostMemDirectAccess since allocMapTarget uses that too. ReviewBoardURL = http://ocltc.amd.com/reviews/r/10933/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#4 edit
Bu işleme şunda yer alıyor:
@@ -1206,7 +1206,7 @@ void VirtualGPU::submitUnmapMemory(amd::UnmapMemoryCommand &cmd)
|
||||
}
|
||||
if (mapInfo->isUnmapWrite()) {
|
||||
// Commit the changes made by the user.
|
||||
if (!devMemory->isHostMemDirectAccess()) {
|
||||
if (devMemory->owner()->getHostMem() == nullptr) {
|
||||
bool result = false;
|
||||
|
||||
if (cmd.memory().asImage() && !imageBuffer) {
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle