P4 to Git Change 1096863 by rili@rili_opencl_stg on 2014/11/13 16:43:47

EPR #407215 - Revert CL#1096846

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#481 edit


[ROCm/clr commit: 83a6efb085]
Этот коммит содержится в:
foreman
2014-11-13 17:23:29 -05:00
родитель e73ae9c166
Коммит 0826cf70be
+1 -5
Просмотреть файл
@@ -1693,11 +1693,7 @@ Device::createImage(amd::Memory& owner, bool directAccess) const
return NULL;
}
// Create a view on the specified device
gpuImage = (gpu::Memory*)createView(owner, *devParent);
if ((gpuImage != NULL) && (gpuImage->owner() != NULL)) {
gpuImage->owner()->setHostMem((address)(owner.parent()->getHostMem()) + gpuImage->owner()->getOrigin());
}
return gpuImage ;
return (gpu::Memory*)createView(owner, *devParent);
}
gpuImage = new gpu::Image(*this, owner,