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]
Этот коммит содержится в:
@@ -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,
|
||||
|
||||
Ссылка в новой задаче
Block a user