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
这个提交包含在:
foreman 于 2016-07-26 19:03:01 -04:00 提交
1 父节点 0b1059a98d
当前提交 e911ffa47e
1 个文件已更改
+1 -1
+1 -1
查看文件
@@ -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) {